Ruby 4.0 リファレンスマニュアル

instance method Pathname#sysopen

sysopen(*args) -> Integer[permalink][rdoc][edit]
(?String mode, ?Integer perm) → Integer

IO.sysopen(self.to_s, *args)と同じです。

[SEE_ALSO] IO.sysopen