lib/eco-rake/patches/exception.rb in eco-rake-0.2.6 vs lib/eco-rake/patches/exception.rb in eco-rake-0.2.7
- old
+ new
@@ -30,17 +30,19 @@
mod = Module.new do
define_method :to_s do
String(message) + super()
end
end
+
extend mod
end
def append_message(message)
mod = Module.new do
define_method :to_s do
super() + String(message)
end
end
+
extend mod
end
end