Method: Pageflow::Feature#enable

Defined in:
lib/pageflow/feature.rb

#enable(config) ⇒ Object

Perform any configuration change that is needed to activate this feature.

Parameters:

Since:

  • 0.9



35
36
37
# File 'lib/pageflow/feature.rb', line 35

def enable(config)
  @block.call(config) if @block
end