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

.configurationObject



8
9
10
# File 'lib/planbcd/rails.rb', line 8

def self.configuration
  @configuration ||= Configuration.new
end

.configure(&block) ⇒ Object



12
13
14
# File 'lib/planbcd/rails.rb', line 12

def self.configure(&block)
  block.call(configuration)
end