Module: Sequel::SymbolAref

Included in:
Symbol
Defined in:
lib/sequel/extensions/symbol_aref_refinement.rb,
lib/sequel/extensions/symbol_aref.rb

Overview

:nocov:

Instance Method Summary collapse

Instance Method Details

#[](v) ⇒ Object



25
26
27
28
29
30
31
32
# File 'lib/sequel/extensions/symbol_aref.rb', line 25

def [](v)
  case v
  when Symbol, Sequel::SQL::Identifier, Sequel::SQL::QualifiedIdentifier
    Sequel::SQL::QualifiedIdentifier.new(self, v)
  else
    super
  end
end