method

_check_ac_args

Importance_0
v2_1_10 - Show latest stable - 0 notes - Class: AC
_check_ac_args(name, block) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/optparse/ac.rb, line 6
  def _check_ac_args(name, block)
    unless /\A\w[-\w]*\z/ =~ name
      raise ArgumentError, name
    end
    unless block
      raise ArgumentError, "no block given", ParseError.filter_backtrace(caller)
    end
  end
Register or log in to add new notes.