Method: Git::Status#changed

Defined in:
lib/git/status.rb

#changedEnumerable

Returns an Enumerable containing files that have changed from the git base directory

Returns:

  • (Enumerable)


18
19
20
# File 'lib/git/status.rb', line 18

def changed
  @files.select { |_k, f| f.type == 'M' }
end