Class: Vissen::Parameterized::Value::Int
- Inherits:
-
Object
- Object
- Vissen::Parameterized::Value::Int
- Includes:
- Vissen::Parameterized::Value
- Defined in:
- lib/vissen/parameterized/value/int.rb
Overview
Constant Summary collapse
- DEFAULT =
Returns see Value.
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/int.rb', line 24 def write(new_value) super Integer(new_value) end |