Class: SqlTools::ColumnDefinition

Inherits:
Object
  • Object
show all
Defined in:
lib/sql_tools/column_definition.rb

Instance Method Summary collapse

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

#nameObject



7
# File 'lib/sql_tools/column_definition.rb', line 7

def name = @node.name.text