Class: Perpetuity::Postgres::NumericValue
- Inherits:
-
Object
- Object
- Perpetuity::Postgres::NumericValue
- Defined in:
- lib/perpetuity/postgres/numeric_value.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ NumericValue
constructor
A new instance of NumericValue.
- #to_s ⇒ Object
- #to_str ⇒ Object
Constructor Details
#initialize(value) ⇒ NumericValue
Returns a new instance of NumericValue.
4 5 6 |
# File 'lib/perpetuity/postgres/numeric_value.rb', line 4 def initialize value @value = value end |
Instance Method Details
#to_s ⇒ Object
8 9 10 |
# File 'lib/perpetuity/postgres/numeric_value.rb', line 8 def to_s @value.to_s end |
#to_str ⇒ Object
12 13 14 |
# File 'lib/perpetuity/postgres/numeric_value.rb', line 12 def to_str to_s end |