Class: SQL::TableCreator::SqlExpr
- Defined in:
- lib/gems/dm-migrations-0.9.9/lib/sql/table_creator.rb
Instance Attribute Summary collapse
-
#sql ⇒ Object
Returns the value of attribute sql.
Instance Method Summary collapse
-
#initialize(sql) ⇒ SqlExpr
constructor
A new instance of SqlExpr.
- #to_s ⇒ Object
Constructor Details
#initialize(sql) ⇒ SqlExpr
Returns a new instance of SqlExpr.
39 40 41 |
# File 'lib/gems/dm-migrations-0.9.9/lib/sql/table_creator.rb', line 39 def initialize(sql) @sql = sql end |
Instance Attribute Details
#sql ⇒ Object
Returns the value of attribute sql.
38 39 40 |
# File 'lib/gems/dm-migrations-0.9.9/lib/sql/table_creator.rb', line 38 def sql @sql end |
Instance Method Details
#to_s ⇒ Object
43 44 45 |
# File 'lib/gems/dm-migrations-0.9.9/lib/sql/table_creator.rb', line 43 def to_s @sql.to_s end |