Class: SQL::TableCreator::SqlExpr
- Inherits:
-
Object
- Object
- SQL::TableCreator::SqlExpr
- Defined in:
- lib/dm-migrations/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/dm-migrations/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/dm-migrations/sql/table_creator.rb', line 38 def sql @sql end |
Instance Method Details
#to_s ⇒ Object
43 44 45 |
# File 'lib/dm-migrations/sql/table_creator.rb', line 43 def to_s @sql.to_s end |