module Rufo::Command

def self.find_dot_rufo(dir)

def self.find_dot_rufo(dir)
  dir  = File.expand_path(dir)
  file = File.join(dir, ".rufo")
  if File.exist?(file)
    return file
  end
  parent_dir = File.dirname(dir)
  return if parent_dir == dir
  find_dot_rufo(parent_dir)
end