class Gem::Tasks::SCM::Status

def status

Returns:
  • (String) -
def status
  case @project.scm
  when :git then `git status --short --untracked-files=no`
  when :hg  then `hg status --quiet`
  when :svn then `svn status --quiet`
  else            ''
  end
end