pry/pry — Issue #366: ls command displays anonymous struct methods without owner
Author: banister
Created: 2011-12-08 13:15:35+00:00
State: open
Labels: bug

```
>> class Blah < Struct.new(:hello); end
=> nil
>> ls -M Blah
Enumerable#methods: all? any? chunk collect collect_concat count cycle detect drop drop_while each_cons each_entry each_slice each_with_index each_with_object entries find find_all find_index first flat_map grep group_by include? inject map max max_by member? min min_by minmax minmax_by none? one? partition reduce reject reverse_each slice_before sort sort_by take take_while zip
Struct#methods: == [] []= each each_pair eql? hash inspect length members pretty_print pretty_print_cycle select size to_a to_s values values_at
#methods: hello hello= <-------------- HERE
```

IMO even just displaying the whole `#` is preferable