sawa (Tsuyoshi Sawada)

  • Registered on: 04/27/2011
  • Last connection: 04/03/2017




08:38 PM Ruby trunk Feature #13807 (Open): A method to filter the receiver against some condition
I frequently see code that uses some value if that value satisfies a certain condition, and something else otherwise....


10:13 AM Ruby trunk Feature #13645: Syntactic sugar for indexing when using the safe navigation operator
Duplicate of


01:25 AM Ruby trunk Feature #13395: Add a method to check for not nil
Many methods that take a block come in positive-negative pairs, unlike `count`. I am not sure how frequent the use ca...


06:40 AM Ruby trunk Feature #13314: dig=
Was this syntactically not allowed? If so, sorry.
06:38 AM Ruby trunk Feature #13314 (Open): dig=
We have `Hash#dig`, and when we want to assign a key-value at a deep level, it is tempting to do:


04:28 AM Ruby trunk Feature #13309 (Rejected): Locale paramter for Integer(), Float(), Rational()
Matz' comment to my proposal on `Kernel#Boolean()` ( led me to the idea of in...


05:05 AM Ruby trunk Feature #13290: A method to use a hash like in a case construction
Yusuke Endoh wrote:
> ~~~~
> h.find {|a,| a === "barbar" }.last #=> "BAR"
> ~~~~
> This is good enough to me....


06:57 AM Ruby trunk Feature #13290 (Feedback): A method to use a hash like in a case construction
We often want to translate a hash into a case construction and back. For example, suppose we have a case construction...


12:09 PM Ruby trunk Feature #13259: Kernel#Date
Marcus Stollsteimer wrote:
> Note also the ongoing discussion about the future of Date (#13072).
Thanks for the n...
06:20 AM Ruby trunk Feature #13260: Kernel#Boolean
I agree that the proposal was vague. Instead of using `strict`, perhaps we can pass a string or strings expressing th...

Also available in: Atom