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



7
8
9
# File 'lib/tarantool/em_db.rb', line 7

def arg
  @arg
end

#objObject

Returns the value of attribute obj

Returns:

  • (Object)

    the current value of obj



7
8
9
# File 'lib/tarantool/em_db.rb', line 7

def obj
  @obj
end

Instance Method Details

#callObject



8
9
10
# File 'lib/tarantool/em_db.rb', line 8

def call
  obj.call arg
end