Sha256: 4d410f31571de22ccedfe91b97d3c397ed7023c5d859bdaa36da0f7e2df4939d
Contents?: true
Size: 422 Bytes
Versions: 3
Compression:
Stored size: 422 Bytes
Contents
module WashOut class Engine < ::Rails::Engine class << self attr_accessor :namespace attr_accessor :snakecase end self.namespace = 'urn:WashOut' self.snakecase = false config.wash_out = ActiveSupport::OrderedOptions.new initializer "wash_out.configuration" do |app| app.config.wash_out.each do |key, value| self.class.send "#{key}=", value end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wash_out-0.3.6 | lib/wash_out/engine.rb |
wash_out-0.3.5 | lib/wash_out/engine.rb |
wash_out-0.3.4 | lib/wash_out/engine.rb |