Class: NoBrainer::Document::Index::Synchronizer::Op
- Inherits:
-
Struct
- Object
- Struct
- NoBrainer::Document::Index::Synchronizer::Op
- Defined in:
- lib/no_brainer/document/index/synchronizer.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#index ⇒ Object
Returns the value of attribute index.
-
#op ⇒ Object
Returns the value of attribute op.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
12 13 14 |
# File 'lib/no_brainer/document/index/synchronizer.rb', line 12 def args @args end |
#index ⇒ Object
Returns the value of attribute index
12 13 14 |
# File 'lib/no_brainer/document/index/synchronizer.rb', line 12 def index @index end |
#op ⇒ Object
Returns the value of attribute op
12 13 14 |
# File 'lib/no_brainer/document/index/synchronizer.rb', line 12 def op @op end |
Instance Method Details
#run(options = {}) ⇒ Object
13 14 15 |
# File 'lib/no_brainer/document/index/synchronizer.rb', line 13 def run(={}) index.__send__(op, *args, ) end |