class Sequel::SQL::Constant

  1. lib/sequel/extensions/eval_inspect.rb
Superclass: Object

Methods

Public Instance

  1. inspect

Constants

INSPECT_LOOKUPS = [:CURRENT_DATE, :CURRENT_TIMESTAMP, :CURRENT_TIME, :SQLTRUE, :SQLFALSE, :NULL, :NOTNULL]  

Constants to lookup in the Sequel module.

Public Instance methods

inspect()

Reference the constant in the Sequel module if there is one that matches.

[show source]
    # File lib/sequel/extensions/eval_inspect.rb
110 def inspect
111   INSPECT_LOOKUPS.each do |c|
112     return "Sequel::#{c}" if Sequel.const_get(c) == self
113   end
114   super
115 end