Class: FIRM::Serializable::YAML::RestrictedRelaxed
- Inherits:
-
YAML::ClassLoader
- Object
- YAML::ClassLoader
- FIRM::Serializable::YAML::RestrictedRelaxed
- Defined in:
- lib/firm/serializer/yaml.rb
Instance Method Summary collapse
-
#initialize(classes) ⇒ RestrictedRelaxed
constructor
A new instance of RestrictedRelaxed.
Constructor Details
#initialize(classes) ⇒ RestrictedRelaxed
Returns a new instance of RestrictedRelaxed.
57 58 59 60 61 |
# File 'lib/firm/serializer/yaml.rb', line 57 def initialize(classes) @classes = classes @allow_struct = @classes.include?('Struct') super() end |