class Object

Public Class Methods

const_missing(c) click to toggle source
# File lib/rulers/dependencies.rb, line 2
def self.const_missing(c)
  return nil if @calling_const_missing

  @calling_const_missing = true
  require Rulers.to_underscore(c.to_s)
  klass = Object.const_get(c)
  @calling_const_missing = false

  klass
end