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.
60 61 62 63 64 |
# File 'lib/firm/serializer/yaml.rb', line 60 def initialize(classes) @classes = classes @allow_struct = @classes.include?('Struct') super() end |