Feature #8459

Idiomatic method names for Socket

Added by adkron (Amos King) about 7 years ago. Updated 12 months ago.

Target version:


In order to still have the POSIX standard functionality as well as an alternative idiomatic ruby version it would be nice to have some of the methods aliased in the core.


Soket.gethostname => Socket.hostname

There is already a pull request open on the github version of Ruby.

Again this changes none of the current method names. This is only to add some idiomatic method names to match.

Updated by drbrain (Eric Hodel) about 7 years ago

  • Tracker changed from Bug to Feature
  • Status changed from Open to Assigned
  • Assignee set to akr (Akira Tanaka)

Updated by akr (Akira Tanaka) about 6 years ago

  • Status changed from Assigned to Feedback

I'm negative.

Such convention makes naming new method more difficult.

Naming is already very difficult.
I don't want to it more difficult.


Updated by naruse (Yui NARUSE) over 2 years ago

  • Target version deleted (2.6)

Updated by akr (Akira Tanaka) 12 months ago

  • Status changed from Feedback to Rejected

I reject this issue because 5 years after my feedback.

Also available in: Atom PDF