- Registered on: 04/27/2011
- Last connection: 01/11/2017
- 12:10 PM Ruby trunk Feature #13211: Hash#delete taking a splat
- Whether to accept a splat (perhaps on an array) at the beginning of an argument is not something to be specified as a...
- 11:34 AM Ruby trunk Bug #13162: tr does not recognize multi-byte characters correctly
- OK. I now realize that this was not a bug but a feature. Please close.
- 05:33 AM Ruby trunk Bug #13162 (Rejected): tr does not recognize multi-byte characters correctly
- This looks as expected:
"\\".tr('\\', '＼') # => "＼"
but this doesn't:
- 07:07 AM Ruby trunk Feature #13123 (Open): NilClass#dig
- We now have `Hash#dig`. We often have a variable that is either a hash or nil but we are not sure which. In such case...
- 03:10 PM Ruby trunk Feature #13067: TrueClass,FalseClass to provide `===` to match truthy/falsy values.
- Marc-Andre Lafortune wrote:
> 2) There is no good replacement for the current uses of `when true` and `when false`...
- 07:00 AM Ruby trunk Feature #12995 (Rejected): Conditional expression taking a receiver outside the condition
- Since a conditional expression has a return value, we can continue a method chain after a conditional expression like...
- 06:05 AM Ruby trunk Feature #12775: Random subset of array
- Nobuyoshi Nakada wrote:
> Do you mean random size subset?
> I can't get how/why it is useful.
> Please elaborate w...
- 04:50 AM Ruby trunk Feature #12775 (Feedback): Random subset of array
- I often see use cases to randomly sample a subset from an array like this:
a = [3, 2, 6, 2, 6, 1]
- 04:42 AM Ruby trunk Feature #12698: Method to delete a substring by regex match
- Perhaps my examples were not clear enough. My point is that, unlike `String#delete`, the given string argument should...
- 04:37 AM Ruby trunk Feature #12698 (Feedback): Method to delete a substring by regex match
- There is frequent need to delete a substring from a string. There already are methods `String#delete` and `String#del...
Also available in: Atom