It would be nice to have a real/more-idiomatic way instead of a hack, and that hack doesn't support duck typing, while adding `#to_regexp` to `String` does.justcolin (Colin Fulton)
It is relatively common to call `Regexp.new(Regexp.escape("some string"))` or `Regexp.new(Regexp.quote("some string"))` in Ruby (a quick search turns up over half a million matches in Github). However, these seems rather cumbersome. It w...justcolin (Colin Fulton)
Having multiple parameters named `_` in a method works fine until you try to use the `super` keyword, at which point a segfault occurs. The use case where I ran into this was when I needed to create a child class which extends the initia...justcolin (Colin Fulton)
It would also be very useful for making ObjectSpace#define_finalizer easier to use (to avoid the common memory leak passing a regular proc in can cause).justcolin (Colin Fulton)
Currently to create a lambda Proc one has to use `lambda { }` or `-> { }`. For doing metaprogramming it would be nice to have a more OO way to generate them. Something like `LambdaProc.new`. That way one could write: ```ruby class Me...justcolin (Colin Fulton)
This would be a fantastic feature. I second the idea of something like `function { }`, `func { }`, `<> { }`, `--> { }`, `->> { }`, or `<-> { }`. Would these behave like regular Procs or lambda Procs when it comes to return semantics a...justcolin (Colin Fulton)
**Edited:** _Tsuyoshi Sawada_: how do you feel about those edge cases dealing with the double splat? Do you know of any real world code that uses the option hash in arrays? I have yet to see that in the wild. A special syntax to dist...justcolin (Colin Fulton)
_NOTE_: I did find a "cleaner" way to do the decorator mentioned in the **Further Information** section, but it uses `Kernel#eval` which never feels like a good idea: ```ruby def method_missing *ordered, **named, &block args = ord...justcolin (Colin Fulton)
# Examples Currently Ruby has syntactic sugar to make passing a Hash as a final argument prettier. Consider the following: ```ruby def foo(arg1, arg2, option_hash) option_hash end ``` If someone doesn't know about the opti...justcolin (Colin Fulton)