Module: Bunko
- Defined in:
- lib/bunko.rb,
lib/bunko/railtie.rb,
lib/bunko/version.rb,
lib/bunko/configuration.rb,
lib/tasks/bunko/helpers.rb,
lib/bunko/models/acts_as.rb,
lib/bunko/controllers/acts_as.rb,
lib/bunko/models/post_methods.rb,
lib/bunko/controllers/collection.rb,
lib/bunko/routing/mapper_methods.rb,
lib/bunko/models/post_type_methods.rb,
lib/bunko/models/post_methods/sluggable.rb,
lib/tasks/support/sample_data_generator.rb,
lib/bunko/models/post_methods/publishable.rb,
lib/bunko/models/post_methods/word_countable.rb,
sig/bunko.rbs
Defined Under Namespace
Modules: Controllers, Models, RakeHelpers, Routing, SampleDataGenerator
Classes: Configuration, Error, Railtie
Constant Summary
collapse
- VERSION =
"0.2.0"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
168
169
170
|
# File 'lib/bunko/configuration.rb', line 168
def configuration
@configuration ||= Configuration.new
end
|
Class Method Details
172
173
174
|
# File 'lib/bunko/configuration.rb', line 172
def configure
yield(configuration)
end
|
.reset_configuration! ⇒ Object
176
177
178
|
# File 'lib/bunko/configuration.rb', line 176
def reset_configuration!
@configuration = Configuration.new
end
|