class Cassandra::Types::Frozen
Inherits
Methods
new
(*value)Coerces the value to Array
assert
(value, message = nil, &block)Asserts that a given value is an Array
- Void
- Return value of this method is ignored.
to_s
Returns "list<type>"
Coerces the value to Array
Name | Type | Details |
---|---|---|
value | Object |
original value |
Type | Details |
---|---|
Array |
value |
Asserts that a given value is an Array
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 an Array |
Type | Details |
---|---|
Boolean |