middleman/middleman-core/fixtures/feature-params-app/config.rb

12 lines
232 B
Ruby

set :layout, false
module ExtensionA
class << self
def registered(app, options={})
app.set :a_options, options
end
alias :included :registered
end
end
activate ExtensionA, :hello => "world", :hola => "mundo"