2011-12-25 13:06:45 -05: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-13 18:39:06 -04:00
|
|
|
activate ExtensionA, :hello => "world", :hola => "mundo"
|