Module: PlanBCD::Rails
- Defined in:
- lib/planbcd/rails.rb,
lib/planbcd/rails/error.rb,
lib/planbcd/rails/railtie.rb,
lib/planbcd/rails/version.rb,
lib/planbcd/rails/middleware.rb,
lib/planbcd/rails/view_helpers.rb,
lib/planbcd/rails/configuration.rb
Defined Under Namespace
Modules: ViewHelpers
Classes: Configuration, Exception, Middleware, Railtie, RuntimeError
Constant Summary
collapse
- VERSION =
'0.1.1'
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
8
9
10
|
# File 'lib/planbcd/rails.rb', line 8
def self.configuration
@configuration ||= Configuration.new
end
|
12
13
14
|
# File 'lib/planbcd/rails.rb', line 12
def self.configure(&block)
block.call(configuration)
end
|