I just inadvertently made a dup of this issue (#16430) and would like to throw my hat in the ring as supporting this change. Honestly, this literally the first time since I started ruby that I encountered something in the language th...MikeVastola (Mike Vastola)
mame (Yusuke Endoh) wrote: > If you want to request a feature, please research the old tickets. I've found #6810. Ok, thanks. I tried searching before submitting this, but I apparently didn't use the right terms.MikeVastola (Mike Vastola)
sawa (Tsuyoshi Sawada) wrote: > What is the purpose of writing the code in three different files? It only looks to me that it is making things more complicated. I was trying to offer a minimal (non)-working example. The benefit arise...MikeVastola (Mike Vastola)
mame (Yusuke Endoh) wrote: > It is by design. See "Scope" section of https://github.com/ruby/ruby/blob/master/doc/syntax/modules_and_classes.rdoc Ok, I see that, but is this a good design? I would argue not and am therefore changing...MikeVastola (Mike Vastola)
I'm not sure if this is intentional (in which case it really isn't documented anywhere, and probably should be) or a bug, but imagine the following code: ``` ruby # lib/a.rb module A FOO = :BAR end # lib/a/b.rb require_relat...MikeVastola (Mike Vastola)
I mean, as seen in yui-knk's example with `pry`, I think it's helpful to be able to essentially do `send("#{method.visibility}_instance_methods")`. I'm not picky on the name though if there is something better than visibility. But I t...MikeVastola (Mike Vastola)
Oh, sorry. I missed where you were looking for an example before. Here's a good one from the popular activesupport gem: [here](https://github.com/rails/rails/blob/c823f9252be2552c65bb1370ccf42a14de461439/activesupport/lib/active_support/...MikeVastola (Mike Vastola)
Just wanted to second this FR as something I'd find useful. Also, it would be nice to have associated predicate methods (i.e. `Method#public?`, `Method#protected?` and `Method#private?`) MikeVastola (Mike Vastola)
Sorry.. I'm not used to Redmine and I was confused because there was no conclusion to the discussion about the **`ArgumentError`**. I understand that Casper's request should be a separate issue (I'll leave him to submit that since I ...MikeVastola (Mike Vastola)