Class: Commands::Track::MissingCredentialsError

Inherits:
Thor::Error
  • Object
show all
Defined in:
lib/commands/track/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(host) ⇒ MissingCredentialsError

Returns a new instance of MissingCredentialsError.



16
17
18
# File 'lib/commands/track/errors.rb', line 16

def initialize(host)
  super ".netrc does not container credentials for #{host}"
end

Instance Method Details

#==(other) ⇒ Object



20
21
22
# File 'lib/commands/track/errors.rb', line 20

def ==(other)
  to_s == other.to_s
end