Class: Surrogate::Value::BaseValue
- Inherits:
-
Object
- Object
- Surrogate::Value::BaseValue
- Defined in:
- lib/surrogate/values.rb
Overview
the current set of possible values ===
Direct Known Subclasses
Instance Method Summary collapse
- #factory(*args, &block) ⇒ Object
-
#initialize(value) ⇒ BaseValue
constructor
A new instance of BaseValue.
- #value(method_name) ⇒ Object
Constructor Details
#initialize(value) ⇒ BaseValue
Returns a new instance of BaseValue.
25 26 27 |
# File 'lib/surrogate/values.rb', line 25 def initialize(value) @value = value end |