Module: Barley

Defined in:
lib/barley.rb,
lib/barley/cache.rb,
lib/barley/error.rb,
lib/barley/railtie.rb,
lib/barley/version.rb,
lib/barley/serializer.rb,
lib/barley/serializable.rb,
lib/barley/configuration.rb

Defined Under Namespace

Modules: Serializable Classes: Cache, Configuration, Error, InvalidAttributeError, Railtie, Serializer

Constant Summary collapse

VERSION =
"0.7"

Class Method Summary collapse

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:

  • (config)


11
12
13
14
# File 'lib/barley.rb', line 11

def self.configure
  self.config ||= Configuration.new
  yield(config)
end