Module: BucketMaker

Extended by:
Forwardable
Defined in:
lib/bucket_maker.rb,
lib/bucket_maker/bucket.rb,
lib/bucket_maker/engine.rb,
lib/bucket_maker/series.rb,
lib/bucket_maker/version.rb,
lib/bucket_maker/series_maker.rb,
lib/bucket_maker/configuration.rb,
lib/bucket_maker/models/redisable.rb,
lib/bucket_maker/models/bucketable.rb,
lib/bucket_maker/models/active_recordable.rb,
lib/generators/bucket_maker/install_generator.rb,
lib/generators/bucket_maker/bucket_maker_generator.rb

Defined Under Namespace

Modules: Generators, Models Classes: Bucket, Configuration, Engine, Series, SeriesMaker

Constant Summary collapse

VERSION =
"0.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



53
54
55
# File 'lib/bucket_maker/configuration.rb', line 53

def configuration
  @configuration
end

Class Method Details

.configureObject



58
59
60
61
62
63
64
# File 'lib/bucket_maker/configuration.rb', line 58

def self.configure
  if block_given?
    self.configuration ||= Configuration.new
    yield self.configuration
    self.configuration.reconfigure!
  end
end