class Object

Constants

DB

Public Class Methods

const_missing(c) click to toggle source

Object will call this method when method const_get can’t get constant

# File lib/rhino/dependencies.rb, line 3
def self.const_missing(c)
  # TODO avoid infiniti call: const_get -> const_missing -> const_get...
  require Rhino.to_underscore(c.to_s)
  Object.const_get(c)
end