Module: MysqlInspector::TablePart

Included in:
Column, Constraint, Index
Defined in:
lib/mysql_inspector/table_part.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#tableObject

Returns the value of attribute table.



4
5
6
# File 'lib/mysql_inspector/table_part.rb', line 4

def table
  @table
end

Instance Method Details

#<=>(other) ⇒ Object



6
7
8
# File 'lib/mysql_inspector/table_part.rb', line 6

def <=>(other)
  name <=> other.name
end