class MovieMasher::Error::Runtime

base error

Public Class Methods

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

Public Instance Methods

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