Class: RangeComponentAttributes::BaseConverter
- Inherits:
-
Object
- Object
- RangeComponentAttributes::BaseConverter
- Defined in:
- lib/range_component_attributes/type_conversion.rb
Direct Known Subclasses
DateConverter, DecimalConverter, FloatConverter, IntegerConverter
Instance Attribute Summary collapse
-
#blank_value ⇒ Object
readonly
Returns the value of attribute blank_value.
Instance Method Summary collapse
-
#initialize(blank_value: nil) ⇒ BaseConverter
constructor
A new instance of BaseConverter.
Constructor Details
#initialize(blank_value: nil) ⇒ BaseConverter
Returns a new instance of BaseConverter.
14 15 16 |
# File 'lib/range_component_attributes/type_conversion.rb', line 14 def initialize blank_value: nil @blank_value = blank_value end |
Instance Attribute Details
#blank_value ⇒ Object (readonly)
Returns the value of attribute blank_value.
12 13 14 |
# File 'lib/range_component_attributes/type_conversion.rb', line 12 def blank_value @blank_value end |