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 =

Get the version number

"0.0.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



76
77
78
# File 'lib/bucket_maker/configuration.rb', line 76

def configuration
  @configuration
end

Class Method Details

.configureObject

Configure after yielding to the block



83
84
85
86
87
88
89
# File 'lib/bucket_maker/configuration.rb', line 83

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