Class: Crystalline::Hash
- Inherits:
-
Object
- Object
- Crystalline::Hash
- Defined in:
- lib/crystalline/types.rb
Instance Attribute Summary collapse
-
#key_type ⇒ Object
Returns the value of attribute key_type.
-
#value_type ⇒ Object
Returns the value of attribute value_type.
Instance Method Summary collapse
-
#initialize(key_type, value_type) ⇒ Hash
constructor
A new instance of Hash.
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_type ⇒ Object
Returns the value of attribute key_type.
16 17 18 |
# File 'lib/crystalline/types.rb', line 16 def key_type @key_type end |
#value_type ⇒ Object
Returns the value of attribute value_type.
16 17 18 |
# File 'lib/crystalline/types.rb', line 16 def value_type @value_type end |