Class: RgGen::Core::HelpPrinter
Instance Method Summary collapse
-
#initialize(option_parser) ⇒ HelpPrinter
constructor
A new instance of HelpPrinter.
- #run(_builder, _options) ⇒ Object
Constructor Details
#initialize(option_parser) ⇒ HelpPrinter
Returns a new instance of HelpPrinter.
6 7 8 |
# File 'lib/rggen/core/printers.rb', line 6 def initialize(option_parser) @option_parser = option_parser end |
Instance Method Details
#run(_builder, _options) ⇒ Object
10 11 12 |
# File 'lib/rggen/core/printers.rb', line 10 def run(_builder, ) puts @option_parser.help end |