General

Profile

knu (Akinori MUSHA)

Issues

Projects

Activity

03/11/2019

09:54 AM Ruby trunk Feature #15618 (Closed): Implement Enumerator::Yielder#to_proc
Merged with r67211. knu (Akinori MUSHA)
09:52 AM Ruby trunk Revision 67213 (trunk): Mention the addition of Enumerator::Yielder#to_proc in NEWS
knu (Akinori MUSHA)
09:52 AM Ruby trunk Revision 448262c8 (ruby-git): Mention the addition of Enumerator::Yielder#to_proc in NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e knu (Akinori MUSHA)
09:49 AM Ruby trunk Revision 67211 (trunk): Implement Enumerator::Yielder#to_proc
A Yielder object can now be directly passed to another method as a
block argument.
```ruby
enum = Enumerator.new { |...
knu (Akinori MUSHA)
09:49 AM Ruby trunk Revision c2d3b8df (ruby-git): Implement Enumerator::Yielder#to_proc
A Yielder object can now be directly passed to another method as a
block argument.
```ruby
enum = Enumerator.new { |...
knu (Akinori MUSHA)
06:35 AM Ruby trunk Misc #15614: DevelopersMeeting20190311Japan
[Feature #15618] Implement Enumerator::Yielder#to_proc knu (Akinori MUSHA)
06:27 AM Ruby trunk Feature #15653: Proposal: Add Time#floor
テストコードで `Time.at(time.to_i)` とかやることは多いですね。 knu (Akinori MUSHA)

02/24/2019

03:55 PM Ruby trunk Feature #15618 (Closed): Implement Enumerator::Yielder#to_proc
When writing an Enumerator block, you often want to delegate iteration to another method like this:
```ruby
enum ...
knu (Akinori MUSHA)

01/28/2019

03:32 AM Ruby trunk Feature #15562: `String#split` option to suppress the initial empty substring
I believe an initial empty string should often be useful and significant, so it is a reasonable default to include on... knu (Akinori MUSHA)

01/25/2019

11:33 AM Ruby trunk Feature #15562: `String#split` option to suppress the initial empty substring
Isn't the new option name too long? I'd use `.drop_while(&:empty?)`. knu (Akinori MUSHA)

Also available in: Atom