Method: Thor::DynamicCommand#initialize
- Defined in:
- lib/thor/command.rb
#initialize(name, options = nil) ⇒ DynamicCommand
Returns a new instance of DynamicCommand.
120 121 122 |
# File 'lib/thor/command.rb', line 120 def initialize(name, = nil) super(name.to_s, "A dynamically-generated command", name.to_s, name.to_s, ) end |