Class: AnnotateRb::Commands::PrintHelp

Inherits:
Object
  • Object
show all
Defined in:
lib/annotate_rb/commands/print_help.rb

Instance Method Summary collapse

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(_options)
  puts @parser.help
end