Contents
- Usage page
-
API docs index
-
Cassandra module
- AddressResolution module
- Auth module
- Compression module
- Error module
- Errors module
- Execution module
- LoadBalancing module
- Reconnection module
- Retry module
- Statement module
- Statements module
- Types module
- Cluster class
- Column class
- Future class
- Host class
- Keyspace class
- Listener class
- Result class
- Session class
- Table class
- TimeUuid class
- Tuple class
- Type class
- UDT class
- Uuid class
-
Cassandra module
Inherits
Methods
Coerces the value to BigDecimal
- Parameters:
-
Name Type Details value Object
original value - Returns:
-
Type Details BigDecimal
value - See Also:
Asserts that a given value is a BigDecimal
- Void
- Return value of this method is ignored.
- Parameters:
-
Name Type Details value Object
value to be validated message String
(defaults to: nil
) error message to use when assertion fails - Yield Returns:
-
Type Details String
error message to use when assertion fails - Raises:
-
Type Details ArgumentError
if the value is not a BigDecimal - See Also: