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