It can get the longest method name.
p ObjectSpace.each_object(Module).flat_map { |m| m.instance_methods + m.private_instance_methods }.uniq.max_by(&:size)
I tried it in local machine. (ruby 2.4.3p205)
:fix_syck_default_key_in_requirements
It can get the longest method name.
p ObjectSpace.each_object(Module).flat_map { |m| m.instance_methods + m.private_instance_methods }.uniq.max_by(&:size)
I tried it in local machine. (ruby 2.4.3p205)
:fix_syck_default_key_in_requirements
For further actions, you may consider blocking this person and/or reporting abuse
John Vester -
Akarshan Kapoor -
DotNet Full Stack Dev -
Arthur Borba -
Top comments (4)
I got the same thing on my local machine. In a project I got something pretty interesting and I'm now investigating 🤔
It may be getting a dynamically generated method name. In that case, can't see source code. 😢
Yeah I'm sure it was, still an interesting one. Has me curious.
In rails 4.2.6 ->
remove_active_admin_load_paths_from_rails_autoload_and_eager_load