Class: Scenic::Adapters::Oracle::Indexes
- Inherits:
-
Object
- Object
- Scenic::Adapters::Oracle::Indexes
- Defined in:
- lib/scenic/adapters/oracle/indexes.rb
Instance Method Summary collapse
-
#initialize(connection:) ⇒ Indexes
constructor
A new instance of Indexes.
- #on(name) ⇒ Object
Constructor Details
#initialize(connection:) ⇒ Indexes
Returns a new instance of Indexes.
9 10 11 |
# File 'lib/scenic/adapters/oracle/indexes.rb', line 9 def initialize(connection:) @connection = connection end |
Instance Method Details
#on(name) ⇒ Object
13 14 15 |
# File 'lib/scenic/adapters/oracle/indexes.rb', line 13 def on(name) indexes_on(name).map(&method(:index_from_database)) end |