Class: NoBrainer::Document::Index::Synchronizer::Op

Inherits:
Struct
  • Object
show all
Defined in:
lib/no_brainer/document/index/synchronizer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#argsObject

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



12
13
14
# File 'lib/no_brainer/document/index/synchronizer.rb', line 12

def args
  @args
end

#indexObject

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



12
13
14
# File 'lib/no_brainer/document/index/synchronizer.rb', line 12

def index
  @index
end

#opObject

Returns the value of attribute op

Returns:

  • (Object)

    the current value of 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(options={})
  index.__send__(op, *args, options)
end