Sha256: 7f1fc182b8897319f6cc5027982c695cbf60efb66e26e88a075131be66f4e8cb

Contents?: true

Size: 272 Bytes

Versions: 10

Compression:

Stored size: 272 Bytes

Contents

require 'hashbrowns/railtie' if defined?(Rails)
require 'haml'
require 'hashbrowns/configuration'

module HashBrowns
  class << self
    def configure(&block)
      yield(conf)
      conf
    end

    def conf
      @_configuration ||= Configuration.new
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hashbrowns-0.2.5 lib/hashbrowns.rb
hashbrowns-0.2.4 lib/hashbrowns.rb
hashbrowns-0.2.3 lib/hashbrowns.rb
hashbrowns-0.2.2 lib/hashbrowns.rb
hashbrowns-0.2.1 lib/hashbrowns.rb
hashbrowns-0.2.0 lib/hashbrowns.rb
hashbrowns-0.1.6 lib/hashbrowns.rb
hashbrowns-0.1.5 lib/hashbrowns.rb
hashbrowns-0.1.4 lib/hashbrowns.rb
hashbrowns-0.1.3 lib/hashbrowns.rb