lib/fssm.rb in fssm-0.0.9 vs lib/fssm.rb in fssm-0.1.0
- old
+ new
@@ -2,16 +2,16 @@
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
module FSSM
FileNotFoundError = Class.new(StandardError)
CallbackError = Class.new(StandardError)
-
+
class << self
def dbg(msg=nil)
STDERR.puts(msg)
end
- def monitor(*args, &block)
+ def monitor(*args, &block)
monitor = FSSM::Monitor.new
context = args.empty? ? monitor : monitor.path(*args)
if block_given?
if block.arity == 1