class GitStashout::GitError
Public Class Methods
new(message, output=nil)
click to toggle source
# File lib/git_stashout.rb, line 96 def initialize(message, output=nil) @msg = "#{message.red}" if output @msg << "\n" @msg << "Here's what Git said:".red @msg << "\n" @msg << output end end
Public Instance Methods
message()
click to toggle source
# File lib/git_stashout.rb, line 107 def message @msg end