lib/uuid4.rb in uuid4-1.2.0 vs lib/uuid4.rb in uuid4-1.2.1
- old
+ new
@@ -43,10 +43,13 @@
formatter.encode(self)
end
alias_method :to_s, :to_str
alias_method :to_uuid, :to_str
- alias_method :as_json, :to_str
+
+ def as_json(*)
+ to_str
+ end
def to_uuid4
self
end