module StackMaster::Command::ClassMethods
Public Instance Methods
command_name()
click to toggle source
# File lib/stack_master/command.rb, line 15 def command_name name.split('::').last.underscore end
perform(*args)
click to toggle source
# File lib/stack_master/command.rb, line 9 def perform(*args) new(*args).tap do |command| command.perform end end