... | ... |
@@ -3,7 +3,7 @@ module Rubysermon |
3 | 3 |
|
4 | 4 |
def self.load(new_class) |
5 | 5 |
begin |
6 |
- require_relative 'mod/' + new_class.downcase |
|
6 |
+ require "#{LIB_PATH}/rubysermon/mod/#{new_class.downcase}" |
|
7 | 7 |
|
8 | 8 |
capitalized_class = new_class.capitalize |
9 | 9 |
return (Rubysermon.const_get capitalized_class).new |