Module: WarpDrive::Procs

Defined in:
lib/warp_drive/boot/procs.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.initialize_dependency_mechanismObject



15
16
17
18
19
20
# File 'lib/warp_drive/boot/procs.rb', line 15

def initialize_dependency_mechanism
  Proc.new do
    initialize_dependency_mechanism_without_warp_drive
    WarpDrive.initialize_dependency_mechanism
  end          
end

.load_pluginsObject



6
7
8
9
10
11
12
13
# File 'lib/warp_drive/boot/procs.rb', line 6

def load_plugins
  Proc.new do
    @plugin_loader = nil
    WarpDrive.load_plugins
    plugin_loader.add_plugin_load_paths
    load_plugins_without_warp_drive
  end
end

.method_missing(meth, *args) ⇒ Object



22
23
24
25
26
27
# File 'lib/warp_drive/boot/procs.rb', line 22

def method_missing(meth, *args)
  Proc.new do
    WarpDrive.send(meth)
    send("#{meth}_without_warp_drive")
  end
end