Class: Scheman::Views::Mysql::Field

Inherits:
Node
  • Object
show all
Defined in:
lib/scheman/views/mysql.rb

Instance Method Summary collapse

Methods inherited from Node

#initialize

Constructor Details

This class inherits a constructor from Scheman::Views::Mysql::Node

Instance Method Details

#to_sObject



253
254
255
256
257
258
# File 'lib/scheman/views/mysql.rb', line 253

def to_s
  str = "`#{name}` #{type}"
  str << "(#{values})" if has_values?
  str << " #{qualifiers}" if has_qualifiers?
  str
end