lib/thor/group.rb in atli-0.1.7 vs lib/thor/group.rb in atli-0.1.8
- old
+ new
@@ -249,10 +249,10 @@
def baseclass #:nodoc:
Thor::Group
end
def create_command(meth) #:nodoc:
- commands[meth.to_s] = Thor::Command.new(meth, nil, nil, nil, nil)
+ commands[meth.to_s] = Thor::Command.new name: meth
true
end
alias_method :create_task, :create_command
public # end protected ***************************************************