Class: Cassandra::Types::Timestamp
- Inherits:
-
Cassandra::Type
- Object
- Cassandra::Type
- Cassandra::Types::Timestamp
- Defined in:
- lib/cassandra/types.rb
Instance Method Summary collapse
-
#assert(value, message = nil, &block) ⇒ void
Asserts that a given value is a Time.
-
#kind ⇒ Symbol
:timestamp
. -
#new(value) ⇒ Time
Coerces the value to Time.
-
#to_s ⇒ String
"timestamp"
.
Instance Method Details
#assert(value, message = nil, &block) ⇒ void
This method returns an undefined value.
Asserts that a given value is a Time
22 23 |
# File 'lib/cassandra/types.rb', line 22 def assert(value, = nil, &block) end |
#kind ⇒ Symbol
Returns :timestamp
.
4 5 |
# File 'lib/cassandra/types.rb', line 4 def kind end |
#new(value) ⇒ Time
Coerces the value to Time
11 12 |
# File 'lib/cassandra/types.rb', line 11 def new(value) end |
#to_s ⇒ String
Returns "timestamp"
.
27 28 |
# File 'lib/cassandra/types.rb', line 27 def to_s end |