Class: AnnotateRb::Commands::PrintHelp
- Inherits:
-
Object
- Object
- AnnotateRb::Commands::PrintHelp
- Defined in:
- lib/annotate_rb/commands/print_help.rb
Instance Method Summary collapse
- #call(_options) ⇒ Object
-
#initialize(parser) ⇒ PrintHelp
constructor
A new instance of PrintHelp.
Constructor Details
#initialize(parser) ⇒ PrintHelp
Returns a new instance of PrintHelp.
6 7 8 |
# File 'lib/annotate_rb/commands/print_help.rb', line 6 def initialize(parser) @parser = parser end |
Instance Method Details
#call(_options) ⇒ Object
10 11 12 |
# File 'lib/annotate_rb/commands/print_help.rb', line 10 def call() puts @parser.help end |