Class: WipeOut::AttributeStrategies::ConstValue
- Inherits:
-
Object
- Object
- WipeOut::AttributeStrategies::ConstValue
- Defined in:
- lib/wipe_out/attribute_strategies/const_value.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(value) ⇒ ConstValue
constructor
A new instance of ConstValue.
Constructor Details
#initialize(value) ⇒ ConstValue
Returns a new instance of ConstValue.
4 5 6 |
# File 'lib/wipe_out/attribute_strategies/const_value.rb', line 4 def initialize(value) @value = value end |
Instance Method Details
#call ⇒ Object
8 9 10 |
# File 'lib/wipe_out/attribute_strategies/const_value.rb', line 8 def call(*) @value end |