class RubyCritic::Configuration

def root=(path)

def root=(path)
  @root = File.expand_path(path)
end

def set(options)

def set(options)
  self.mode = options[:mode] || :default
  self.root = options[:root] || 'tmp/rubycritic'
  self.formats = options[:formats] || [:html]
  self.deduplicate_symlinks = options[:deduplicate_symlinks]
  self.suppress_ratings = options[:suppress_ratings]
  self.open_with = options[:open_with]
  self.no_browser = options[:no_browser]
  self.base_branch = options[:base_branch]
  self.feature_branch = options[:feature_branch]
  self.threshold_score = options[:threshold_score].to_i
end

def source_control_present?

def source_control_present?
  source_control_system &&
    !source_control_system.is_a?(SourceControlSystem::Double)
end