class AocCli::Errors::PartInv
Attributes
part[R]
Public Class Methods
new(part)
click to toggle source
# File lib/aoc_cli/errors.rb, line 94 def initialize(part) @part = part end
Public Instance Methods
message()
click to toggle source
# File lib/aoc_cli/errors.rb, line 97 def message <<~error #{ERROR}: Invalid part: #{part.red} Part refers to the part of the puzzle and can either be 1 or 2. error end