Module: GiveyRuby
- Defined in:
- lib/givey_ruby.rb,
lib/givey_ruby/model.rb,
lib/givey_ruby/shared.rb,
lib/givey_ruby/version.rb,
lib/givey_ruby/controller.rb,
lib/givey_ruby/configuration.rb
Defined Under Namespace
Modules: Controller, Model, Shared Classes: Configuration
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
- .configuration ⇒ Object
-
.configure {|Configuration| ... } ⇒ Object
Yields the global configuration to a block.
Class Method Details
.configuration ⇒ Object
12 13 14 |
# File 'lib/givey_ruby.rb', line 12 def self.configuration @configuration ||= GiveyRuby::Configuration.new end |
.configure {|Configuration| ... } ⇒ Object
Yields the global configuration to a block.
23 24 25 |
# File 'lib/givey_ruby.rb', line 23 def self.configure yield configuration if block_given? end |