lib/traits/damaging.rb in gosu_extensions-0.1.14 vs lib/traits/damaging.rb in gosu_extensions-0.1.15
- old
+ new
@@ -22,10 +22,10 @@
# def damage
# # Define your own damage method.
# end
# end
#
-module Damaging
+module Damaging extend Trait
class DamageMissingError < RuntimeError
def initialize
super <<-MESSAGE
In a Damaging thing, you need to define method
\ No newline at end of file