Class: ROM::SQL::Migration::Statement Private
- Inherits:
-
Data
- Object
- Data
- ROM::SQL::Migration::Statement
- Defined in:
- lib/rom/sql/migration/sql_migration.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A single executable statement extracted from a .sql migration
section, paired with the source line where it begins. The line is
used to annotate backtraces when execution fails.
Instance Attribute Summary collapse
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#sql ⇒ Object
readonly
Returns the value of attribute sql.
Instance Attribute Details
#line ⇒ Object (readonly)
Returns the value of attribute line
15 16 17 |
# File 'lib/rom/sql/migration/sql_migration.rb', line 15 def line @line end |
#sql ⇒ Object (readonly)
Returns the value of attribute sql
15 16 17 |
# File 'lib/rom/sql/migration/sql_migration.rb', line 15 def sql @sql end |