Class: ActiveRecord::ConnectionAdapters::OracleEnhancedTableDefinition::ForeignKey
- Inherits:
-
Struct
- Object
- Struct
- ActiveRecord::ConnectionAdapters::OracleEnhancedTableDefinition::ForeignKey
- Defined in:
- lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#base ⇒ Object
Returns the value of attribute base.
-
#options ⇒ Object
Returns the value of attribute options.
-
#to_table ⇒ Object
Returns the value of attribute to_table.
Instance Method Summary collapse
- #to_sql ⇒ Object (also: #to_s)
Instance Attribute Details
#base ⇒ Object
Returns the value of attribute base
26 27 28 |
# File 'lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb', line 26 def base @base end |
#options ⇒ Object
Returns the value of attribute options
26 27 28 |
# File 'lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb', line 26 def @options end |
#to_table ⇒ Object
Returns the value of attribute to_table
26 27 28 |
# File 'lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb', line 26 def to_table @to_table end |
Instance Method Details
#to_sql ⇒ Object Also known as: to_s
27 28 29 |
# File 'lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb', line 27 def to_sql base.foreign_key_definition(to_table, ) end |