Class: Crystalline::Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/crystalline/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key_type, value_type) ⇒ Hash



18
19
20
21
# File 'lib/crystalline/types.rb', line 18

def initialize(key_type, value_type)
  @key_type = key_type
  @value_type = value_type
end

Instance Attribute Details

#key_typeObject

Returns the value of attribute key_type.



16
17
18
# File 'lib/crystalline/types.rb', line 16

def key_type
  @key_type
end

#value_typeObject

Returns the value of attribute value_type.



16
17
18
# File 'lib/crystalline/types.rb', line 16

def value_type
  @value_type
end