Class: SchemaReader::Table
- Inherits:
-
Object
- Object
- SchemaReader::Table
- Defined in:
- lib/schema_reader.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name, attributes) ⇒ Table
constructor
A new instance of Table.
Constructor Details
#initialize(name, attributes) ⇒ Table
Returns a new instance of Table.
83 84 85 |
# File 'lib/schema_reader.rb', line 83 def initialize(name, attributes) @name, @attributes = name, attributes end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
81 82 83 |
# File 'lib/schema_reader.rb', line 81 def attributes @attributes end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
81 82 83 |
# File 'lib/schema_reader.rb', line 81 def name @name end |