mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
12 lines
No EOL
231 B
Ruby
12 lines
No EOL
231 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" |