Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@stuckinthecloud
Created September 19, 2011 20:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save stuckinthecloud/1227555 to your computer and use it in GitHub Desktop.
Save stuckinthecloud/1227555 to your computer and use it in GitHub Desktop.
Refractored TextAnalyzer
We couldn’t find any files to show.
@stuckinthecloud
Copy link
Author

method non_stopwords in lab3_refactor.rb at line 42
method calc_word_percent in lab3_refactor.rb at line 42
method collect_stats in lab3_refactor.rb at line 96
method each in lab3_refactor.rb at line 84
method collect_stats in lab3_refactor.rb at line 84
at top level in lab3_refactor.rb at line 107

@stuckinthecloud
Copy link
Author

lab3_refactor.rb:37:in non_stopwords': wrong number of arguments (0 for 1) (ArgumentError) from lab3_refactor.rb:42:incalc_word_percent'
from lab3_refactor.rb:96:in block in collect_stats' from lab3_refactor.rb:84:ineach'
from lab3_refactor.rb:84:in collect_stats' from lab3_refactor.rb:107:in

'

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