Class: Tarantool::EMDB::Curry1

Inherits:
Struct
  • Object
show all
Defined in:
lib/tarantool/em_db.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#argObject

Returns the value of attribute arg

Returns:

  • (Object)

    the current value of arg



23
24
25
# File 'lib/tarantool/em_db.rb', line 23

def arg
  @arg
end

#objObject

Returns the value of attribute obj

Returns:

  • (Object)

    the current value of obj



23
24
25
# File 'lib/tarantool/em_db.rb', line 23

def obj
  @obj
end

Instance Method Details

#callObject



24
25
26
# File 'lib/tarantool/em_db.rb', line 24

def call
  obj.call arg
end