# File lib/vendor/fssm/monitor.rb, line 7
  def path(*args, &block)
    path = FSSM::Path.new(*args)

    if block_given?
      if block.arity == 1
        block.call(path)
      else
        path.instance_eval(&block)
      end
    end

    @backend.add_path(path)
    path
  end