Sha256: e9cb55152517392a6c926fd1e07fe7b25bf52fdaacab845172e2c437d9e97430
Contents?: true
Size: 307 Bytes
Versions: 3
Compression:
Stored size: 307 Bytes
Contents
module Kangaroo module Util class Loader module Namespace def oo_to_ruby oo_name name + "::" + oo_name.gsub('.','/').camelize end def ruby_to_oo ruby_name ruby_name.sub(name + "::",'').underscore.gsub '/', '.' end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kangaroo-0.0.2 | lib/kangaroo/util/loader/namespace.rb |
kangaroo-0.0.1.pre2 | lib/kangaroo/util/loader/namespace.rb |
kangaroo-0.0.1.pre | lib/kangaroo/util/loader/namespace.rb |