Class: Philiprehberger::TomlKit::TypeCoercion::Rule
- Inherits:
-
Struct
- Object
- Struct
- Philiprehberger::TomlKit::TypeCoercion::Rule
- Defined in:
- lib/philiprehberger/toml_kit/type_coercion.rb
Overview
A single coercion rule.
Instance Attribute Summary collapse
-
#deserializer ⇒ Object
Returns the value of attribute deserializer.
-
#serializer ⇒ Object
Returns the value of attribute serializer.
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#deserializer ⇒ Object
Returns the value of attribute deserializer
12 13 14 |
# File 'lib/philiprehberger/toml_kit/type_coercion.rb', line 12 def deserializer @deserializer end |
#serializer ⇒ Object
Returns the value of attribute serializer
12 13 14 |
# File 'lib/philiprehberger/toml_kit/type_coercion.rb', line 12 def serializer @serializer end |
#tag ⇒ Object
Returns the value of attribute tag
12 13 14 |
# File 'lib/philiprehberger/toml_kit/type_coercion.rb', line 12 def tag @tag end |
#type ⇒ Object
Returns the value of attribute type
12 13 14 |
# File 'lib/philiprehberger/toml_kit/type_coercion.rb', line 12 def type @type end |