lib/odex/app.rb in odex-0.0.5 vs lib/odex/app.rb in odex-0.0.6
- old
+ new
@@ -216,10 +216,10 @@
def use(middleware, *args, &block)
builder.use(middleware, *args, &block)
end
- def ext(*extensions)
+ def import(*extensions)
extensions.each do |ext|
extend ext
ext.module_is_registered(self) if ext.respond_to?(:module_is_registered)
end
end