class Ubcbooker::Error::UnsupportedDepartment

Attributes

message[R]

Public Class Methods

new(department = "unknown") click to toggle source
Calls superclass method
# File lib/ubcbooker/error.rb, line 5
def initialize(department = "unknown")
  @message = "\"#{department}\" is an unsupported department\n".red <<
    "Check supported departments with `ubcbooker -l`"
  super
end