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

Edit distance scaling #18

Open
canweriotnow opened this issue Mar 4, 2013 · 0 comments
Open

Edit distance scaling #18

canweriotnow opened this issue Mar 4, 2013 · 0 comments

Comments

@canweriotnow
Copy link
Member

Make the max Levenshtein distance a function of the length of the method name... Possibly exclude common method prefixes (like to_ or even each_) from the calculation... At this point, excluding to_* methods (to keep RSpec working); this enhancement would replace this behaviour with edit distance scaling (with possible common prefix elimination).

This is mainly a duck typing issue... calling to_r in place of to_ary is a serious problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant