Class: Commands::Track::RepoIsNotForkError

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

Instance Method Summary collapse

Constructor Details

#initialize(fork) ⇒ RepoIsNotForkError

Returns a new instance of RepoIsNotForkError.



32
33
34
# File 'lib/commands/track/errors.rb', line 32

def initialize(fork)
  super "#{fork} is not a fork. Please for the CIC repo and try again"
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
# File 'lib/commands/track/errors.rb', line 36

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