Module: Kernel

Defined in:
lib/launchsupport.rb

Instance Method Summary collapse

Instance Method Details

#not_on_launching(file, param = {}, &b) ⇒ Object



9
10
11
# File 'lib/launchsupport.rb', line 9

def not_on_launching file, param={}, &b
  LaunchSupport::launching_my_file_process(file, param, &b) unless $0 == file
end

#on_launching(file, param = {}, &b) ⇒ Object



5
6
7
# File 'lib/launchsupport.rb', line 5

def on_launching file, param={}, &b
  LaunchSupport::launching_my_file_process(file, param, &b) if $0 == file
end