Class: Commands::Track::RepoIsNotForkError
- Inherits:
-
Thor::Error
- Object
- Thor::Error
- Commands::Track::RepoIsNotForkError
- Defined in:
- lib/commands/track/errors.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(fork) ⇒ RepoIsNotForkError
constructor
A new instance of RepoIsNotForkError.
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 |