class Cassandra::Types::Map
Inherits
Methods
new
(*value)Coerces the value to Hash
assert
(value, message = nil, &block)Asserts that a given value is a Hash
- Void
- Return value of this method is ignored.
to_s
Returns "map<type, type>"
Coerces the value to Hash
Name | Type | Details |
---|---|---|
value | Object |
original value |
Type | Details |
---|---|
Hash |
value |
Asserts that a given value is a Hash
Name | Type | Details |
---|---|---|
value | Object |
value to be validated |
message | String |
(defaults to: nil )
error message to use when assertion fails
|
Type | Details |
---|---|
String |
error message to use when assertion fails |
Type | Details |
---|---|
ArgumentError |
if the value is not a Hash |
Type | Details |
---|---|
Boolean |