class Ubcbooker::Error::UnsupportedTime

Attributes

message[R]
time[R]

Public Class Methods

new(time = "unknown") click to toggle source
Calls superclass method
# File lib/ubcbooker/error.rb, line 29
def initialize(time = "unknown")
  @time = time
  @message = "Error: Unsupported Time\n".red <<
    "Please check if the time is in the format of HH:MM-HH:MM\n" <<
    "Ex. 11:00-13:00"
  super
end