class Backburner::RemoteCommand
Attributes
command_stack[RW]
Public Class Methods
new(command_name, connection, command_stack=nil)
click to toggle source
# File lib/backburner/remote_command.rb, line 5 def initialize command_name, connection, command_stack=nil @command_stack = command_stack || [] @command_stack.unshift command_name @connection = connection end
Public Instance Methods
flatten()
click to toggle source
# File lib/backburner/remote_command.rb, line 15 def flatten @command_stack.join ' ' end
method_missing(method_name, *args)
click to toggle source
# File lib/backburner/remote_command.rb, line 11 def method_missing method_name, *args self.class.new method_name, @command_stack end