Issue #5361 has been updated by Andrew Grimm.


Ruby 1.9.3 has been released with the method spelt byteslice. I suspect it will make this spelling change less likely, as people won't want to use byte_slice in Ruby 2.0 but remember to use byteslice in Ruby 1.9.3 patchlevel 0.
----------------------------------------
Feature #5361: Lice?
http://redmine.ruby-lang.org/issues/5361

Author: Thomas Sawyer
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: 


Err... why is there a new String method for getting the lice of bytes?

  'hello'.byteslice(2, 2)  # => "ll"

I don't like getting lice ;)

(In other words what happened to good old readable underscores?)




-- 
http://redmine.ruby-lang.org