Class: Dry::Struct::Value

Inherits:
Dry::Struct show all
Defined in:
lib/dry/struct/value.rb

Constant Summary

Constants inherited from Dry::Struct

Error, VERSION

Instance Attribute Summary

Attributes included from ClassInterface

#constructor, #constructor_type, #equalizer

Class Method Summary collapse

Methods inherited from Dry::Struct

#[], #initialize, #to_hash

Methods included from ClassInterface

#attribute, #attributes, #constrained?, #default?, #default_attributes, extended, #failure, #inherited, #new, #primitive, #result, #schema, #success, #try, #valid?

Constructor Details

This class inherits a constructor from Dry::Struct

Class Method Details

.newObject



6
7
8
# File 'lib/dry/struct/value.rb', line 6

def self.new(*)
  IceNine.deep_freeze(super)
end