module Yrpc module AutoLoading # def Object.const_missing name # super # $LOAD_PATH << File.join("./", "yrpc_app", "controllers") unless $LOAD_PATH.include?("./yrpc_app/controllers") # $LOAD_PATH << File.join("./", "yrpc_app", "models") unless $LOAD_PATH.include?("./yrpc_app/models") # require Yrpc::Ruler.to_underscore(name.to_s) # klass = Object.const_get(name) # klass # end end end