Module: FeatureProof

Defined in:
lib/feature_proof.rb,
lib/feature_proof/railtie.rb,
lib/feature_proof/version.rb,
lib/feature_proof/view_helpers.rb,
lib/feature_proof/configuration.rb,
lib/generators/feature_proof/views_generator.rb

Defined Under Namespace

Modules: Generators, ViewHelpers Classes: Configuration, Engine, Proof

Constant Summary collapse

VERSION =
"1.1.20"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



9
10
11
# File 'lib/feature_proof.rb', line 9

def configuration
  @configuration
end

Class Method Details

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

Yields:



20
21
22
# File 'lib/feature_proof.rb', line 20

def self.configure
  yield(configuration)
end

.resetObject



16
17
18
# File 'lib/feature_proof.rb', line 16

def self.reset
  @configuration = Configuration.new
end