lib/hexx/service.rb in hexx-2.0.1 vs lib/hexx/service.rb in hexx-2.0.2

- old
+ new

@@ -1,6 +1,9 @@ -lib = File.dirname __FILE__ -Dir[File.join(lib, "service/**/*.rb")].each { |file| require file } +def service_modules + Dir[File.expand_path("../service/*.rb", __FILE__)] +end + +service_modules.each { |file| require file } module Hexx # Base class for service objects. class Service