Class: Nanoc::Int::Memoization::Value Private

Inherits:
Object
  • Object
show all
Defined in:
lib/nanoc/base/memoization.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 3.2.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Value

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Value.

Since:

  • 3.2.0



30
31
32
# File 'lib/nanoc/base/memoization.rb', line 30

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 3.2.0



28
29
30
# File 'lib/nanoc/base/memoization.rb', line 28

def value
  @value
end