aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2014-11-14 11:18:11 +0100
committerHarald Eilertsen <haraldei@anduin.net>2014-11-14 11:18:11 +0100
commitd486f549e44bfe7615a5df268007d41649b186dd (patch)
treeef0f074362c9614bd34effe75e61f4a589c8fd0d
parent0e22855375f10343d77fdcc83b323a992325649f (diff)
downloadimusician-reports-d486f549e44bfe7615a5df268007d41649b186dd.tar.gz
imusician-reports-d486f549e44bfe7615a5df268007d41649b186dd.tar.bz2
imusician-reports-d486f549e44bfe7615a5df268007d41649b186dd.zip
Autoload using require_relative instead.
-rw-r--r--parse_report.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse_report.rb b/parse_report.rb
index 714c746..4fe7668 100644
--- a/parse_report.rb
+++ b/parse_report.rb
@@ -22,7 +22,7 @@ end
def load_reports
Dir[File.join('lib', 'reports', '*.rb')].each do |f|
- require File.expand_path(f, File.dirname(__FILE__))
+ require_relative f
end
end