Class: Climate::Parser
- Inherits:
-
Object
- Object
- Climate::Parser
- Includes:
- ParsingMethods
- Defined in:
- lib/climate/parser.rb
Instance Method Summary collapse
-
#initialize(&block) ⇒ Parser
constructor
A new instance of Parser.
Methods included from ParsingMethods
#arg, #check_arguments, #cli_arguments, #cli_options, #has_arguments?, #has_options?, #help_banner, #opt, #parse, #stop_on, #trollop_parser
Constructor Details
#initialize(&block) ⇒ Parser
Returns a new instance of Parser.
91 92 93 |
# File 'lib/climate/parser.rb', line 91 def initialize(&block) instance_eval(&block) if block_given? end |