General

Profile

herwin (Herwin W)

  • Registered on: 02/26/2016
  • Last connection: 04/25/2018

Issues

Activity

03/12/2018

08:42 PM Ruby trunk Feature #11210: IPAddr has no public method to get the current subnet mask
https://github.com/ruby/ipaddr/commit/293ad5ac6ed704f91d418ecaf24ae58156a587e7 fixes this in the ipaddr gem. Good eno...

12/12/2017

08:06 AM Ruby trunk Feature #11925: Struct construction with kwargs
knu (Akinori MUSHA) wrote:
> What if `Struct.new([:a, :b])` created a class with the desired constructor?
If you'...

10/16/2017

04:57 PM Ruby trunk Feature #13610: IPAddr doesn't provide helpful methods to get the subnet or IP address
I think #11210 is the better solution here, since that has additional possibilities to get the formatting of the subn...

04/23/2017

07:16 AM Ruby trunk Bug #13498 (Assigned): Weakref, Weakmap and define_finalizer don't work on frozen objects
I'm just creating a single ticket for these issues, I guess they're actually all the same (I've seen weakref uses wea...

01/19/2017

07:43 PM Ruby trunk Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
Regarding `String#gsb` and `String#sb`: It is far from clear what the difference between `#sub` and `#sb` is just by ...

12/11/2016

07:28 PM Ruby trunk Bug #13024 (Closed): Confusing error message matching a non-ASCII string with ASCII-regex
```ruby
irb(main):001:0> "\u2603".match(/./n)
(irb):1: warning: regexp match /.../n against to UTF-8 string
=> #<M...
09:20 AM Ruby trunk Misc #12976: Update example of Hash#value? and Hash#has_value?
This has been integrated, so this ticket can be closed

12/04/2016

05:40 PM Ruby trunk Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
I posted this link to IRC (#ruby on freenode), just to see if anyone had a good name suggestion. The suggestions `#ma...

11/26/2016

08:45 PM Ruby trunk Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
What about `sub_md` as a name?
02:51 PM Ruby trunk Feature #12753: Useful operator to check bit-flag is true or false
```ruby
if n.bittest?(0b10100000)
```
If I encountered that code without having the context of this case, I woul...

Also available in: Atom