class Object

Override Object.const_missing

Public Class Methods

const_missing(c) click to toggle source

Convert Constants to snake_case and try to autoload them

# File lib/rapid_runty/dependencies.rb, line 4
def self.const_missing(c)
  require c.to_s.snake_case
  Object.const_get(c)
end