Sha256: d1634a9ee0ddd68b22fc49476d0876f8bedeff50149a97ff990d91b2553a6418
Contents?: true
Size: 274 Bytes
Versions: 1
Compression:
Stored size: 274 Bytes
Contents
dir = File.join(File.dirname(__FILE__)) Dir.glob(File.join(dir, "rsettings", "**", "*.rb")).each {|f| require f} class Settings def method_missing(m, *args) fail "Only support queries, cannot do <#{m}>" unless args.empty? EnvironmentSettings.new.get m end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rsettings-0.0.1 | lib/rsettings.rb |