lib/json/add/dry/monads/maybe.rb in dry-monads-1.4.0 vs lib/json/add/dry/monads/maybe.rb in dry-monads-1.5.0
- old
+ new
@@ -24,11 +24,11 @@
}
end
# Stores class name (Dry::Monads::Maybe::Some or Dry::Monads::Maybe::None)
# with the monad value as JSON string
- def to_json(*args)
- as_json.to_json(*args)
+ def to_json(...)
+ as_json.to_json(...)
end
end
end
end