Module: Sequel::SymbolAref

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

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