Class: RobotArmy::EvalCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/robot-army/eval_command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ EvalCommand

Returns a new instance of EvalCommand.

Yields:

  • (_self)

Yield Parameters:



2
3
4
# File 'lib/robot-army/eval_command.rb', line 2

def initialize
  yield self if block_given?
end

Instance Attribute Details

#argsObject

Returns the value of attribute args.



10
11
12
# File 'lib/robot-army/eval_command.rb', line 10

def args
  @args
end

#contextObject

Returns the value of attribute context.



12
13
14
# File 'lib/robot-army/eval_command.rb', line 12

def context
  @context
end

#dependenciesObject

Returns the value of attribute dependencies.



14
15
16
# File 'lib/robot-army/eval_command.rb', line 14

def dependencies
  @dependencies
end

#keychainObject

Returns the value of attribute keychain.



16
17
18
# File 'lib/robot-army/eval_command.rb', line 16

def keychain
  @keychain
end

#procObject

Returns the value of attribute proc.



8
9
10
# File 'lib/robot-army/eval_command.rb', line 8

def proc
  @proc
end

#userObject

Returns the value of attribute user.



6
7
8
# File 'lib/robot-army/eval_command.rb', line 6

def user
  @user
end