Class: ViewDelegates::Cache::CacheEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/view_delegates/poros/cache.rb

Overview

Internal struct to save all the values

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



5
6
7
# File 'lib/view_delegates/poros/cache.rb', line 5

def key
  @key
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



5
6
7
# File 'lib/view_delegates/poros/cache.rb', line 5

def value
  @value
end