Class: Rubeus::Jdbc::TableElement

Inherits:
MetaElement show all
Defined in:
lib/rubeus/jdbc/meta_element.rb

Direct Known Subclasses

Column, ForeignKey, Index, PrimaryKey

Instance Attribute Summary collapse

Attributes inherited from MetaElement

#jdbc_info, #meta_data, #options

Instance Method Summary collapse

Constructor Details

#initialize(meta_data, table, *args, &block) ⇒ TableElement

Returns a new instance of TableElement.



49
50
51
52
# File 'lib/rubeus/jdbc/meta_element.rb', line 49

def initialize(, table, *args, &block)
  super(, *args, &block)
  @table = table
end

Instance Attribute Details

#tableObject (readonly)

Returns the value of attribute table.



47
48
49
# File 'lib/rubeus/jdbc/meta_element.rb', line 47

def table
  @table
end

Instance Method Details

#pretty_print_instance_variablesObject



54
55
56
# File 'lib/rubeus/jdbc/meta_element.rb', line 54

def pretty_print_instance_variables
  super - [:@table]
end