Module: Lennarb::Plugins::Mount

Defined in:
lib/lennarb/plugins/mount.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.configure(app) ⇒ Object



6
7
8
9
10
# File 'lib/lennarb/plugins/mount.rb', line 6

def self.configure(app)
  app.instance_variable_set(:@_mounted_apps, {})
  app.extend(ClassMethods)
  app.include(InstanceMethods)
end