class Array
Public Instance Methods
shell_list()
click to toggle source
# File lib/git_bpf/lib/git-helpers.rb, line 63 def shell_list cp = dup dup.map{ |val| " - #{val}" }.join("\n") end
shell_s()
click to toggle source
# File lib/git_bpf/lib/git-helpers.rb, line 57 def shell_s cp = dup first = cp.shift cp.map{ |arg| arg.gsub " ", "\\ " }.unshift(first) * " " end