Class: SqlTools::ColumnDefinition
- Inherits:
-
Object
- Object
- SqlTools::ColumnDefinition
- Defined in:
- lib/sql_tools/column_definition.rb
Instance Method Summary collapse
-
#initialize(node) ⇒ ColumnDefinition
constructor
A new instance of ColumnDefinition.
- #name ⇒ Object
Constructor Details
#initialize(node) ⇒ ColumnDefinition
Returns a new instance of ColumnDefinition.
3 4 5 |
# File 'lib/sql_tools/column_definition.rb', line 3 def initialize(node) @node = node end |
Instance Method Details
#name ⇒ Object
7 |
# File 'lib/sql_tools/column_definition.rb', line 7 def name = @node.name.text |