Class: Patriarch::RedisInstruction
- Inherits:
-
Struct
- Object
- Struct
- Patriarch::RedisInstruction
- Defined in:
- lib/patriarch/redis_instruction.rb,
lib/patriarch/redis_instruction.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#dao ⇒ Object
Returns the value of attribute dao.
-
#method_sym ⇒ Object
Returns the value of attribute method_sym.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
2 3 4 |
# File 'lib/patriarch/redis_instruction.rb', line 2 def args @args end |
#dao ⇒ Object
Returns the value of attribute dao
2 3 4 |
# File 'lib/patriarch/redis_instruction.rb', line 2 def dao @dao end |
#method_sym ⇒ Object
Returns the value of attribute method_sym
2 3 4 |
# File 'lib/patriarch/redis_instruction.rb', line 2 def method_sym @method_sym end |
Instance Method Details
#execute ⇒ Object
4 5 6 |
# File 'lib/patriarch/redis_instruction.rb', line 4 def execute dao.send(method_sym,*args) end |