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