lib/convenient_service/support/undefined.rb in convenient_service-0.11.0 vs lib/convenient_service/support/undefined.rb in convenient_service-0.12.0

- old
+ new

@@ -1,9 +1,10 @@ # frozen_string_literal: true module ConvenientService module Support - UNDEFINED = ::Object.new.tap do |object| - object.define_singleton_method(:inspect) { "undefined" } - end + ## + # @return [ConvenientService::Support::UniqueValue] + # + UNDEFINED = Support::UniqueValue.new("undefined") end end