lib/persistent_dmnd/array.rb in persistent-dmnd-1.0.0 vs lib/persistent_dmnd/array.rb in persistent-dmnd-1.0.1

- old
+ new

@@ -60,10 +60,11 @@ # def to_concurrent_array ConcurrentRubySupport::ensure_concurrent_ruby_loaded Concurrent::Array.new(self) end + alias :to_concurrent :to_concurrent_array # Return Concurrent::Tuple with contents of Persistent๐Ÿ’Ž::Array # # @example @@ -83,18 +84,21 @@ end def to_a๐Ÿ’Ž self end + alias_method :to_aDmnd, :to_a๐Ÿ’Ž def to_h๐Ÿ’Ž h๐Ÿ’Ž[self] end + alias_method :to_hDmnd, :to_h๐Ÿ’Ž def to_s๐Ÿ’Ž s๐Ÿ’Ž[*self] end + alias_method :to_sDmnd, :to_s๐Ÿ’Ž end end