Class: Duty::Meta::Help

Inherits:
Object
  • Object
show all
Defined in:
lib/duty/meta/help.rb

Instance Method Summary collapse

Constructor Details

#initialize(cli) ⇒ Help

Returns a new instance of Help.



4
5
6
7
# File 'lib/duty/meta/help.rb', line 4

def initialize(cli)
  @registry = cli.registry
  @humanizer = Humanizer.new
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/duty/meta/help.rb', line 9

def to_s
  usage
end