Sha256: e8e4f944de0eef3fd0e523200bdb8c85f96969791b4474f1f61014196853c0b3
Contents?: true
Size: 388 Bytes
Versions: 1
Compression:
Stored size: 388 Bytes
Contents
module Yrpc module AutoLoading def Object.const_missing name $LOAD_PATH << File.join("./","app","controllers") unless $LOAD_PATH.include?("./app/controllers") $LOAD_PATH << File.join("./","app","models") unless $LOAD_PATH.include?("./app/models") require Yrpc::Ruler.to_underscore(name.to_s) klass = Object.const_get(name) klass end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ampedxx-yrpc-0.1.4 | lib/yrpc/helpers/autoload.rb |