Method: Git::Status#changed
- Defined in:
- lib/git/status.rb
#changed ⇒ Enumerable
Returns an Enumerable containing files that have changed from the git base directory
18 19 20 |
# File 'lib/git/status.rb', line 18 def changed @files.select { |_k, f| f.type == 'M' } end |