Class: Sfn::Cache::LocalValue

Inherits:
Object
  • Object
show all
Defined in:
lib/sfn/cache.rb

Overview

Simple value for memory cache

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ LocalValue

Returns a new instance of LocalValue



279
280
281
# File 'lib/sfn/cache.rb', line 279

def initialize(*args)
  @value = nil
end

Instance Attribute Details

#valueObject

Returns value

Returns:

  • (Object)

    value



277
278
279
# File 'lib/sfn/cache.rb', line 277

def value
  @value
end