Class: Vissen::Parameterized::Value::Real
- Inherits:
-
Object
- Object
- Vissen::Parameterized::Value::Real
- Includes:
- Vissen::Parameterized::Value
- Defined in:
- lib/vissen/parameterized/value/real.rb
Overview
Constant Summary collapse
- DEFAULT =
Returns see Value.
0.0
Instance Attribute Summary
Attributes included from Vissen::Parameterized::Value
Instance Method Summary collapse
-
#write(new_value) ⇒ Object
See Value#write.
Methods included from Vissen::Parameterized::Value
canonicalize, #initialize, #scope, #tainted?, #to_s, types, #untaint!
Instance Method Details
#write(new_value) ⇒ Object
Returns see Value#write.
24 25 26 |
# File 'lib/vissen/parameterized/value/real.rb', line 24 def write(new_value) super Float(new_value) end |