Method: Beaker::Options::Validator#validator_error
- Defined in:
- lib/beaker/options/validator.rb
#validator_error(msg = '') ⇒ Object Also known as: parser_error
Raises an ArgumentError with associated message
27 28 29 |
# File 'lib/beaker/options/validator.rb', line 27 def validator_error(msg = '') raise ArgumentError, msg.to_s end |