class MovieMasher::Error::Runtime

base error

Public Class Methods

new(the_msg = nil) click to toggle source
Calls superclass method
# File lib/constant/error.rb, line 7
def initialize(the_msg = nil)
  @msg = the_msg if the_msg
  super
end

Public Instance Methods

message() click to toggle source
# File lib/constant/error.rb, line 12
def message
  to_s
end
to_s() click to toggle source
# File lib/constant/error.rb, line 16
def to_s
  @msg || ''
end