Class: Dry::Types::Value

Inherits:
Struct
  • Object
show all
Defined in:
lib/dry/types/value.rb

Class Method Summary collapse

Methods inherited from Struct

#[], attribute, attributes, constructor_type, equalizer, inherited, #initialize, schema, #to_hash

Constructor Details

This class inherits a constructor from Dry::Types::Struct

Class Method Details

.newObject



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

def self.new(*)
  super.freeze
end