Class: CachePiece
- Inherits:
-
Object
- Object
- CachePiece
- Defined in:
- lib/vendra/domain/models/values/cache_piece.rb
Constant Summary collapse
- VALUES =
[10, 50, 100, 500, 1000]
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ CachePiece
constructor
A new instance of CachePiece.
Constructor Details
#initialize(value) ⇒ CachePiece
Returns a new instance of CachePiece.
6 7 8 |
# File 'lib/vendra/domain/models/values/cache_piece.rb', line 6 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
4 5 6 |
# File 'lib/vendra/domain/models/values/cache_piece.rb', line 4 def value @value end |