lib/classifier/extensions/string.rb in classifier-1.3.5 vs lib/classifier/extensions/string.rb in classifier-1.4.0
- old
+ new
@@ -4,7 +4,7 @@
require 'fast_stemmer'
require 'classifier/extensions/word_hash'
class Object
- def prepare_category_name; to_s.gsub("_"," ").capitalize.intern end
+ def prepare_category_name = to_s.gsub('_', ' ').capitalize.intern
end