gabynaiman/git_wrapper

View on GitHub
lib/git_wrapper/commands/status.rb

Summary

Maintainability
A
0 mins
Test Coverage
module GitWrapper
  module Commands
    class Status < Git

      def command
        'status --porcelain'
      end

      def result
        output.split(/\n/).map do |line|
          Results::StatusPorcelain.parse(line)
        end
      end

    end
  end
end