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