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.
44 45 46 |
# File 'lib/dm-migrations/sql/table_creator.rb', line 44 def initialize(sql) @sql = sql end |
Instance Attribute Details
#sql ⇒ Object
Returns the value of attribute sql.
43 44 45 |
# File 'lib/dm-migrations/sql/table_creator.rb', line 43 def sql @sql end |
Instance Method Details
#to_s ⇒ Object
48 49 50 |
# File 'lib/dm-migrations/sql/table_creator.rb', line 48 def to_s @sql.to_s end |