2011-12-25 19:06:45 +01:00
|
|
|
set :layout, false
|
|
|
|
|
|
|
|
module ExtensionA
|
|
|
|
class << self
|
|
|
|
def registered(app, options={})
|
|
|
|
app.set :a_options, options
|
|
|
|
end
|
|
|
|
alias :included :registered
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2012-08-14 00:39:06 +02:00
|
|
|
activate ExtensionA, :hello => "world", :hola => "mundo"
|