Don't rely on @message in Error classes being available for use

This commit is contained in:
Yehuda Katz
2010-02-10 14:37:38 -08:00
parent 9fd9e5d4f7
commit bea38d64ee

View File

@@ -7,11 +7,8 @@ class NuclearExplosion < StandardError
end
class MadRonon < StandardError
attr_accessor :message
def initialize(message)
@message = message
super()
super(message)
end
end