class FlightStats::Error

The exception class from which all FlightStats exceptions inherit.

Public Instance Methods

set_message(message) click to toggle source
# File lib/flightstats.rb, line 4
def set_message message
  @message = message
end
to_s() click to toggle source

@return [String]

Calls superclass method
# File lib/flightstats.rb, line 9
def to_s
  defined? @message and @message or super
end