lib/event_machine.rb in event_machine-0.3.0 vs lib/event_machine.rb in event_machine-0.3.1
- old
+ new
@@ -1,10 +1,10 @@
require "pp"
require 'benchmark'
module EventMachine
- EVENTS_DIR = (defined?(RAILS_ROOT) ? "#{RAILS_ROOT}/app/events" : "app/events")
+ EVENTS_DIR = "events"
def self.included(base)
class_eval <<-EOF
@@reporter_events = Array.new
EOF