Class: FastSerializer::Configuration
- Inherits:
-
Object
- Object
- FastSerializer::Configuration
- Defined in:
- lib/fast_serializer/configuration.rb
Instance Attribute Summary collapse
-
#coder ⇒ Object
Returns the value of attribute coder.
-
#strict ⇒ Object
Returns the value of attribute strict.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 |
# File 'lib/fast_serializer/configuration.rb', line 10 def initialize @coder = JSON @strict = false end |
Instance Attribute Details
#coder ⇒ Object
Returns the value of attribute coder.
7 8 9 |
# File 'lib/fast_serializer/configuration.rb', line 7 def coder @coder end |
#strict ⇒ Object
Returns the value of attribute strict.
8 9 10 |
# File 'lib/fast_serializer/configuration.rb', line 8 def strict @strict end |