Class: GameMachine::GCache::Cache::CallableImpl

Inherits:
Object
  • Object
show all
Defined in:
server/lib/game_machine/gcache/cache.rb

Instance Method Summary collapse

Constructor Details

#initialize(b) ⇒ CallableImpl

Returns a new instance of CallableImpl


59
60
61
# File 'server/lib/game_machine/gcache/cache.rb', line 59

def initialize(b)
  @b = b
end

Instance Method Details

#callObject


63
64
65
# File 'server/lib/game_machine/gcache/cache.rb', line 63

def call
  ObjectWrapper.new(@b.call)
end