lib/tobox.rb in tobox-0.4.5 vs lib/tobox.rb in tobox-0.5.0
- old
+ new
@@ -7,10 +7,12 @@
require "mutex_m"
module Tobox
class Error < StandardError; end
+ EMPTY = [].freeze
+
module Plugins
@plugins = {}
@plugins.extend(Mutex_m)
# Loads a plugin based on a name. If the plugin hasn't been loaded, tries to load
@@ -32,10 +34,10 @@
h.synchronize { h[name] = mod }
end
end
end
-require_relative "tobox/configuration"
require_relative "tobox/fetcher"
require_relative "tobox/worker"
require_relative "tobox/pool"
require_relative "tobox/application"
+require_relative "tobox/configuration"