Sha256: d021b3ed56f8e1bf3aef2349a984f6b0de1c313437d3e2aec30e208a63a1e1d5

Contents?: true

Size: 230 Bytes

Versions: 7

Compression:

Stored size: 230 Bytes

Contents

require 'hashie'
require 'pathname'

module RooOnRails
  class Config < Hashie::Mash
    class << self
      def load
        path = Pathname '.roo_on_rails.yml'
        path.exist? ? super(path) : new
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
roo_on_rails-1.6.0 lib/roo_on_rails/config.rb
roo_on_rails-1.5.0 lib/roo_on_rails/config.rb
roo_on_rails-1.4.0 lib/roo_on_rails/config.rb
roo_on_rails-1.3.1 lib/roo_on_rails/config.rb
roo_on_rails-1.3.0 lib/roo_on_rails/config.rb
roo_on_rails-1.2.0 lib/roo_on_rails/config.rb
roo_on_rails-1.1.0 lib/roo_on_rails/config.rb