Module: Torque::PostgreSQL::Adapter::TableDefinition
- Defined in:
- lib/torque/postgresql/adapter/schema_definitions.rb
Instance Attribute Summary collapse
-
#inherits ⇒ Object
readonly
Returns the value of attribute inherits.
Instance Method Summary collapse
Instance Attribute Details
#inherits ⇒ Object (readonly)
Returns the value of attribute inherits.
7 8 9 |
# File 'lib/torque/postgresql/adapter/schema_definitions.rb', line 7 def inherits @inherits end |
Instance Method Details
#initialize(*args, **options) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/torque/postgresql/adapter/schema_definitions.rb', line 9 def initialize(*args, **) super @inherits = Array.wrap(.delete(:inherits)).flatten.compact \ if .key?(:inherits) end |