imedo / background

Running Ruby Blocks in the Background

background / init.rb
100644 14 lines (12 sloc) 0.54 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Include hook code here
 
require File.dirname(__FILE__) + '/lib/core_ext/proc_source'
require File.dirname(__FILE__) + '/lib/background'
require File.dirname(__FILE__) + '/lib/core_ext/background'
require File.dirname(__FILE__) + '/lib/core_ext/class'
Dir.glob(File.dirname(__FILE__) + '/lib/core_ext/handlers/*.rb').each do |handler|
  require handler
end
Dir.glob(File.dirname(__FILE__) + '/lib/core_ext/error_reporters/*.rb').each do |reporter|
  require reporter
end
require File.dirname(__FILE__) + '/lib/rails_ext/activerecord/base'