class Commands::Track::TrackNotFoundError

Public Class Methods

new(track_name:, track_names:) click to toggle source
Calls superclass method
# File lib/commands/track/errors.rb, line 42
def initialize(track_name:, track_names:)
  super "Track #{track_name} not found.\nPlease choose from:#{track_names.join("\n")}"
end

Public Instance Methods

==(other) click to toggle source
# File lib/commands/track/errors.rb, line 46
def ==(other)
  to_s == other.to_s
end