Class: Boundy::Formatters::Sql::Bound

Inherits:
Object
  • Object
show all
Includes:
Boundy::Formatter::Sql::Plugin, Bound
Defined in:
lib/boundy/formatters/sql/bound.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Boundy::Formatter::Sql::Plugin

for, included

Methods included from Bound

#to_s

Constructor Details

#initialize(bound, name) ⇒ Bound

Returns a new instance of Bound.



16
17
18
19
# File 'lib/boundy/formatters/sql/bound.rb', line 16

def initialize(bound, name)
  @formatter = Boundy::Formatter::Sql.new(bound.datum, name)
  super(bound)
end

Class Method Details

.typeObject



9
10
11
# File 'lib/boundy/formatters/sql/bound.rb', line 9

def self.type
  Boundy::Bound
end