Class: Philiprehberger::TomlKit::TypeCoercion::Rule

Inherits:
Struct
  • Object
show all
Defined in:
lib/philiprehberger/toml_kit/type_coercion.rb

Overview

A single coercion rule.

Instance Attribute Summary collapse

Instance Attribute Details

#deserializerObject

Returns the value of attribute deserializer

Returns:

  • (Object)

    the current value of deserializer



12
13
14
# File 'lib/philiprehberger/toml_kit/type_coercion.rb', line 12

def deserializer
  @deserializer
end

#serializerObject

Returns the value of attribute serializer

Returns:

  • (Object)

    the current value of serializer



12
13
14
# File 'lib/philiprehberger/toml_kit/type_coercion.rb', line 12

def serializer
  @serializer
end

#tagObject

Returns the value of attribute tag

Returns:

  • (Object)

    the current value of tag



12
13
14
# File 'lib/philiprehberger/toml_kit/type_coercion.rb', line 12

def tag
  @tag
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



12
13
14
# File 'lib/philiprehberger/toml_kit/type_coercion.rb', line 12

def type
  @type
end