Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method · added in Ruby 4.0

Ractor#default_port

() -> ::Ractor::Port[untyped]
ractor.default_port → port object

Returns the default port of the Ractor.

Ruby version changes

  1. 4.0
See also #close #inspect #[]= #join also in 4.0