class Sequel::BasicObject
The Sequel::BasicObject class is just like the default
BasicObject class, except that missing constants are resolved
in Object. This allows the virtual row support to work with
classes without prefixing them with ::, such as:
DB[:bonds].where{maturity_date > Time.now}
Public Class Methods
const_missing(name)
click to toggle source
Lookup missing constants in ::Object
# File lib/sequel/sql.rb, line 11 def self.const_missing(name) ::Object.const_get(name) end