lib/representable/coercion.rb in representable-1.5.1 vs lib/representable/coercion.rb in representable-1.5.2
- old
+ new
@@ -5,10 +5,10 @@
base.class_eval do
include Virtus
extend ClassMethods
end
end
-
+
module ClassMethods
def property(name, args={})
attribute(name, args[:type]) if args[:type] # FIXME (in virtus): undefined method `superclass' for VirtusCoercionTest::SongRepresenter:Module
super(name, args)
end