Module: PinballWizard

Defined in:
lib/pinball_wizard/registry.rb,
lib/pinball_wizard/dsl.rb,
lib/pinball_wizard/feature.rb,
lib/pinball_wizard/railtie.rb,
lib/pinball_wizard/version.rb,
lib/pinball_wizard/helpers/hash.rb,
lib/pinball_wizard/null_feature.rb,
lib/pinball_wizard/configuration.rb,
lib/pinball_wizard/view_helpers/rails.rb,
lib/pinball_wizard/view_helpers/sinatra/slim.rb

Overview

Defined Under Namespace

Modules: DSL, Helpers, Registry, ViewHelpers Classes: Configuration, Feature, NullFeature, Railtie

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configurationObject



2
3
4
# File 'lib/pinball_wizard/configuration.rb', line 2

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

.configure {|configuration| ... } ⇒ Object

Yields:



6
7
8
# File 'lib/pinball_wizard/configuration.rb', line 6

def self.configure
  yield(configuration)
end