module Middleman::Features::ClassMethods
def activate(feature)
Alternatively, you can pass in a Middleman feature module directly.
activate :lorem
feature module and includes it.
It takes a underscore-separated symbol, finds the appropriate
This method is available in the project's `config.rb`.
def activate(feature) feature = feature.to_s if feature.is_a? Symbol if feature.is_a? String feature = feature.camelize feature = Middleman::Features.const_get(feature) end register feature end