Contents
- Usage page
-
API docs index
-
Cassandra module
- AddressResolution module
- AttrBoolean module
- Auth module
- Compression module
- CustomData module
- Error module
- Errors module
- Execution module
- LoadBalancing module
- Reconnection module
- Retry module
- Statement module
- Statements module
- TimestampGenerator module
-
Types module
- Ascii class
- Bigint class
- Blob class
-
Boolean class
- Counter class
- Custom class
- Date class
- Decimal class
- Double class
- Float class
- Frozen class
- Inet class
- Int class
- List class
- Map class
- Set class
- Smallint class
- Text class
- Time class
- Timestamp class
- Timeuuid class
- Tinyint class
- Tuple class
- UserDefined class
- Uuid class
- Varint class
- Aggregate class
- Argument class
- Cluster class
- Column class
- ColumnContainer class
- Function class
- Future class
- Host class
- Index class
- Keyspace class
- Listener class
- Logger class
- MaterializedView class
- Result class
- Session class
- Table class
- Time class
- TimeUuid class
- Trigger class
- Tuple class
- Type class
- UDT class
- Uuid class
-
Cassandra module
Inherits
Methods
Asserts that a given value is a true
or false
- 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 true
orfalse
- See Also: