Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/ca_ching/core_ext/array.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#from_cacheObject

Returns the value of attribute from_cache.



2
3
4
# File 'lib/ca_ching/core_ext/array.rb', line 2

def from_cache
  @from_cache
end

Instance Method Details

#from_cache?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/ca_ching/core_ext/array.rb', line 4

def from_cache?
  @from_cache ||= false
end