Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing methods of included modules is broken #26

Closed
oggy opened this issue Mar 6, 2014 · 0 comments
Closed

Editing methods of included modules is broken #26

oggy opened this issue Mar 6, 2014 · 0 comments

Comments

@oggy
Copy link
Owner

oggy commented Mar 6, 2014

2.1.1 :008 > URI.ls.edit(:encode)
NoMethodError: undefined method `instance_method' for #<URI::Escape:0x007fcef4974e18>
    from /Users/g/.rvm/gems/ruby-2.1.1/gems/looksee-2.1.0/lib/looksee/lookup_path.rb:31:in `block in find'
    from /Users/g/.rvm/gems/ruby-2.1.1/gems/looksee-2.1.0/lib/looksee/lookup_path.rb:24:in `each'
    from /Users/g/.rvm/gems/ruby-2.1.1/gems/looksee-2.1.0/lib/looksee/lookup_path.rb:24:in `find'
    from /Users/g/.rvm/gems/ruby-2.1.1/gems/looksee-2.1.0/lib/looksee/editor.rb:16:in `edit'
    from /Users/g/.rvm/gems/ruby-2.1.1/gems/looksee-2.1.0/lib/looksee/inspector.rb:32:in `edit'
    from (irb):8
    from /Users/g/.rvm/rubies/ruby-2.1.1/bin/irb:11:in `<main>'

Because entry.module is now an included class.

@oggy oggy closed this as completed in e419baf Jul 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant