General

Profile

Prem Sichanugrist

  • Email: s@sikac.hu
  • Registered on: 07/23/2011
  • Last connection: 08/09/2016

Issues

Activity

02/09/2016

03:41 PM Ruby trunk Feature #12059: `Array#single?`, `Hash#single?`
I feel like the usage of this method wouldn't be generic enough, and could be accomplished easily by `.size.one?`

01/22/2016

08:47 PM Ruby trunk Misc #12004: Code of Conduct
I think the moderators have been pinged. However, due to time zone, we might not see any action until 12:00AM GMT giv...

12/15/2015

01:57 PM Ruby trunk Feature #11818: `Hash#compact`
Active Support has this: http://api.rubyonrails.org/classes/Hash.html#method-i-compact
I'm +1 on porting this meth...

12/07/2015

02:19 PM Ruby trunk Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
nobu's patch seems to be the better way to implement this feature without having to use regular expression. Much more...

11/24/2015

07:38 PM Ruby trunk Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
I also just created a GitHub PR in case that will be easier to give feedback to the code: https://github.com/ruby/rub...
07:36 PM Ruby trunk Feature #11735 (Open): Porting String#squish and String#squish! from Ruby on Rails' Active Support
Hi,
I have been using this `String#squish` method so many time when I'm using Rails, and I think it should be a us...

11/15/2013

01:07 AM Ruby trunk Feature #9098: Indent heredoc against the left margin by default when "indented closing identifie...
Sweet. I'll go ahead and start cooking up the patch. Thanks all for the preliminary feedback.

11/14/2013

12:10 PM Ruby trunk Feature #9098: Indent heredoc against the left margin by default when "indented closing identifie...
Oh, that's an awesome suggestion, @avdi. I like it. That way, it wouldn't be introducing backward incompatibility. Ma...
08:10 AM Ruby trunk Feature #9098: Indent heredoc against the left margin by default when "indented closing identifie...
I can see that. I actually just indented the example in without looking at the line width. My bad. :)
If the secon...
03:26 AM Ruby trunk Feature #9098: Indent heredoc against the left margin by default when "indented closing identifie...
@drbrain I could, but then the code would look ugly when the non-heredoc section is well-indented, and especially if ...

Also available in: Atom