General

Profile

phluid61 (Matthew Kerwin)

Issues

Activity

07/05/2017

10:11 AM Ruby trunk Feature #13712: String#start_with? with regexp
Eregon (Benoit Daloze) wrote:
>
> It might be quite useful when parsing, to avoid doing a second match just to get...
06:01 AM Ruby trunk Feature #13712: String#start_with? with regexp
nobu (Nobuyoshi Nakada) wrote:
> Will you need `$~` after `start_with?(re)`?
Personally, I don't see that I'll ev...
02:33 AM Ruby trunk Feature #13712: String#start_with? with regexp
shyouhei (Shyouhei Urabe) wrote:
> +1 for start_with? but I have no practical usage of end_with? so a bit negative a...

05/23/2017

10:31 AM Ruby trunk Feature #13588: Add Encoding#min_char_size, #max_char_size, #minmax_char_size
haines (Andrew Haines) wrote:
>
> ~~~ ruby
> until char.size == max_char_size || eof?
> char << read(min_c...

05/19/2017

10:32 PM CommonRuby Feature #13585: select! and reject! do not returns the same array in specific situations
It's pretty clearly documented:
"If changes were made, it will return `self`, otherwise it returns `nil`."

05/09/2017

07:19 AM Ruby trunk Feature #13551: Add a method to alias class methods
Do you mean singleton methods?
Something like this would work:
~~~ruby
module Kernel
def alias_singleton_me...

01/31/2017

11:37 PM Ruby trunk Bug #13171: URI::FTP path has a trailing slash when just hostname and scheme provided
Eric Barendt wrote:
>
> I disagree that it's correct.
How so? If we can identify the precise issue, it could be...
11:26 PM Ruby trunk Bug #13171: URI::FTP path has a trailing slash when just hostname and scheme provided
Eric Barendt wrote:
>
> Further, where does the "/" come from anyway?
It's in #to_s
~~~ruby
URI.parse("ft...
11:46 AM Ruby trunk Bug #13171: URI::FTP path has a trailing slash when just hostname and scheme provided
If you take the URI object as a data structure with components then any stringification that round-trips through pars...
03:57 AM Ruby trunk Feature #13172: Method that yields object to block and returns result
* #6721
* #6684
* #7388
* #10095
* #11717
* #12760

Also available in: Atom