lib/persistent_dmnd/dmndifier.rb in persistent-dmnd-1.0.0 vs lib/persistent_dmnd/dmndifier.rb in persistent-dmnd-1.0.1
- old
+ new
@@ -38,10 +38,10 @@
extend Persistent💎
DEFAULT_OPTIONS = {
on_unknown: proc { |arg|
raise ArgumentError, "Could not 💎ify an object of class #{arg.class}. Maybe you need to implement :to_💎?"
- }
+ },
}.freeze
private_constant :DEFAULT_OPTIONS
def self.[](arg, options = DEFAULT_OPTIONS)