Sha256: 568134b4b7211c47662ff9ac7555d254919d61a03a09087bd948188c4ad3eac6
Contents?: true
Size: 530 Bytes
Versions: 6
Compression:
Stored size: 530 Bytes
Contents
require_relative 'loaf/configuration' require_relative 'loaf/railtie' module Loaf # Set global configuration # # @api public def self.configuration=(config) @configuration = config end # Get global configuration # # @api public def self.configuration @configuration ||= Configuration.new end # Sets the Loaf configuration options. Best used by passing a block. # # Loaf.configure do |config| # config.capitalize = true # end def self.configure yield configuration end end # Loaf
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
loaf-0.8.1 | lib/loaf.rb |
loaf-0.8.0 | lib/loaf.rb |
loaf-0.7.0 | lib/loaf.rb |
loaf-0.6.2 | lib/loaf.rb |
loaf-0.6.1 | lib/loaf.rb |
loaf-0.6.0 | lib/loaf.rb |