Class: SchemaRD::TableIndex

Inherits:
Struct
  • Object
show all
Includes:
Utils::StructAssigner
Defined in:
lib/schemard/schema.rb

Instance Method Summary collapse

Methods included from Utils::StructAssigner

#assign

Constructor Details

#initialize(hash = nil) ⇒ TableIndex

Returns a new instance of TableIndex.



74
75
76
77
# File 'lib/schemard/schema.rb', line 74

def initialize(hash = nil)
  self.columns = []
  self.assign(hash)
end