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