Module: Gatherable
- Defined in:
- lib/gatherable.rb,
lib/gatherable/engine.rb,
lib/gatherable/version.rb,
lib/gatherable/configuration.rb,
app/controllers/gatherable/application_controller.rb
Defined Under Namespace
Classes: ApplicationController, Configuration, Engine
Constant Summary
collapse
- VERSION =
"2.1.1"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
Also known as:
config
13
14
15
|
# File 'lib/gatherable.rb', line 13
def configuration
@configuration ||= Configuration.new
end
|
6
7
8
9
10
11
|
# File 'lib/gatherable.rb', line 6
def configure
return unless configuration.empty?
yield configuration
create_models
create_controllers
end
|