lib/git_cli/ignore.rb in git_cli-0.9.0 vs lib/git_cli/ignore.rb in git_cli-0.11.0

- old
+ new

@@ -17,12 +17,15 @@ module GitCli module Ignore - def ignore(val) + def ignore(*val) with_ignore_file do |f| - f.puts val + val.each do |v| + f.puts v + end + #f.puts val end log_debug ".gitignore file updated with line '#{val}'" [true,".gitignore file updated"] end