lib/eeny-meeny/models/variation.rb in eeny-meeny-2.0.0 vs lib/eeny-meeny/models/variation.rb in eeny-meeny-2.1.0
- old
+ new
@@ -6,15 +6,7 @@
@id = id
@name = name
@weight = weight
@options = options
end
-
- def marshal_dump
- [@id, { name: @name, weight: @weight, **@options }]
- end
-
- def marshal_load(array)
- send :initialize, array[0], **array[1]
- end
end
end