Class: Me::Cli::GitNotConfiguredView

Inherits:
Struct
  • Object
show all
Defined in:
lib/me/cli/git_not_configured_view.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#causeObject

Returns the value of attribute cause

Returns:

  • (Object)

    the current value of cause



3
4
5
# File 'lib/me/cli/git_not_configured_view.rb', line 3

def cause
  @cause
end

#identityObject

Returns the value of attribute identity

Returns:

  • (Object)

    the current value of identity



3
4
5
# File 'lib/me/cli/git_not_configured_view.rb', line 3

def identity
  @identity
end

Instance Method Details

#to_sObject



4
5
6
# File 'lib/me/cli/git_not_configured_view.rb', line 4

def to_s
  "Error '#{cause}' occurred. Details: Looks like git is not configured for '#{identity}' identity."
end