@nobu Perhaps I came up with a contrived example, but I wanted to point out that there is a lack of symmetry when it comes to `...` As of right now, there is no way to know from the `Method` reflection API alone whether a method is usin...pabloh (Pablo Herrero)
* [Feature #19979] Reconsider adding `&nil` to method declarations, to signal it won't accept a block * Adding this feature should be possible now that the syntax moratorium is overpabloh (Pablo Herrero)
Given that the next release will be Ruby 4.0, and that the Syntax moratorium should be over. Do you think it's possible you could reconsider adding this feature?pabloh (Pablo Herrero)
I really think the naming scheme should clearly distinguish between regular objects from classes/modules. Freezing modules/classes should be separated into their own ad-hoc methods, since you can break a lot of existing code if you free...pabloh (Pablo Herrero)
If you call a method with a splatted kwargs that also uses a splatted array followed by at least one positional argument, the called method can mutate the splatted kwargs. ``` ruby def foo(a, h) h[:splat_modified] = true end a...pabloh (Pablo Herrero)
nobu (Nobuyoshi Nakada) wrote: > I've forgotten to post the patch to use `<<` and `>>`. > ... Is adding composition methods to the Symbol class still being considered?pabloh (Pablo Herrero)
It would be interesting to be able apply a refinement to a whole app (without its gems) or inside a single gem without propagating to the rest of the app which loaded it. Although I'm not really sure about the syntax or API to do it.pabloh (Pablo Herrero)