Class: Boundy::Formatters::Fixnum
- Inherits:
-
Object
- Object
- Boundy::Formatters::Fixnum
- Includes:
- Boundy::Formatter::Sql::Plugin, Bound
- Defined in:
- lib/boundy/formatters/fixnum.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(num, name) ⇒ Fixnum
constructor
A new instance of Fixnum.
- #to_s ⇒ Object
Methods included from Boundy::Formatter::Sql::Plugin
Constructor Details
#initialize(num, name) ⇒ Fixnum
Returns a new instance of Fixnum.
4 5 6 |
# File 'lib/boundy/formatters/fixnum.rb', line 4 def initialize(num, name) @num = num end |
Class Method Details
.type ⇒ Object
8 9 10 |
# File 'lib/boundy/formatters/fixnum.rb', line 8 def self.type ::Fixnum end |
Instance Method Details
#to_s ⇒ Object
15 16 17 |
# File 'lib/boundy/formatters/fixnum.rb', line 15 def to_s @num end |