Class: Git::Base
- Inherits:
-
Object
- Object
- Git::Base
- Defined in:
- lib/cocoapods-ykutility/command/push/yk_git_manager.rb
Instance Method Summary collapse
Instance Method Details
#is_clean ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/cocoapods-ykutility/command/push/yk_git_manager.rb', line 6 def is_clean cmd = "git status --short" @cmd_out_put = [] IO.popen(cmd) do |f| line = f.gets @cmd_out_put << line unless line.blank? end @cmd_out_put.blank? end |