lib/dry/schema/message.rb in dry-schema-0.1.0 vs lib/dry/schema/message.rb in dry-schema-0.1.1
- old
+ new
@@ -41,10 +41,10 @@
# Return a string representation of the message
#
# @api public
def to_s
- [left, right].uniq.join(" #{messages[:or]} ")
+ [left, right].uniq.join(" #{messages[:or].()} ")
end
end
# Build a new message object
#