Sha256: 0c36bb915e173a33e463ac159cac9de6ee4d4da27941a6607a331a70b2dc9c85

Contents?: true

Size: 256 Bytes

Versions: 32

Compression:

Stored size: 256 Bytes

Contents

# This is useful for specs, but I hesitate to monkey patch a core class in the library itself.
class Addrinfo
	def == other
		self.to_s == other.to_s
	end
	
	def != other
		self.to_s != other.to_s
	end
	
	def <=> other
		self.to_s <=> other.to_s
	end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
async-io-1.27.2 spec/addrinfo.rb
async-io-1.27.1 spec/addrinfo.rb
async-io-1.27.0 spec/addrinfo.rb
async-io-1.26.0 spec/addrinfo.rb
async-io-1.25.0 spec/addrinfo.rb
async-io-1.24.0 spec/addrinfo.rb
async-io-1.23.3 spec/addrinfo.rb
async-io-1.23.1 spec/addrinfo.rb
async-io-1.23.0 spec/addrinfo.rb
async-io-1.22.0 spec/addrinfo.rb
async-io-1.21.0 spec/addrinfo.rb
async-io-1.20.0 spec/addrinfo.rb
async-io-1.18.5 spec/addrinfo.rb
async-io-1.18.4 spec/addrinfo.rb
async-io-1.18.3 spec/addrinfo.rb
async-io-1.18.2 spec/addrinfo.rb
async-io-1.18.1 spec/addrinfo.rb
async-io-1.17.2 spec/addrinfo.rb
async-io-1.17.1 spec/addrinfo.rb
async-io-1.16.4 spec/addrinfo.rb