class Pleiades::Command::Executor

Public Class Methods

new(command, method) click to toggle source
# File lib/pleiades/core/command/executor.rb, line 4
def initialize(command, method)
  @to = command
  @method = method
end

Public Instance Methods

call()
Alias for: execute
execute() click to toggle source
# File lib/pleiades/core/command/executor.rb, line 9
def execute
  @to.__send__ @method
  @to
end
Also aliased as: call