1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/middleman-core/fixtures/feature-params-app/config.rb

17 lines
320 B
Ruby
Raw Normal View History

set :layout, false
2013-12-31 21:21:30 -05:00
class ExtensionA < ::Middleman::Extension
helpers do
def get_option(key)
extensions[:extension_a].options[key]
end
end
2013-12-31 21:21:30 -05:00
option :hello, '', ''
option :hola, '', ''
end
Middleman::Extensions.register :extension_a, ExtensionA
2013-12-31 21:21:30 -05:00
activate :extension_a, hello: "world", hola: "mundo"