Class: Object

Inherits:
BasicObject
Defined in:
lib/simple_classifier/extensions/string.rb

Instance Method Summary collapse

Instance Method Details

#prepare_category_nameObject



15
# File 'lib/simple_classifier/extensions/string.rb', line 15

def prepare_category_name; to_s.gsub("_"," ").capitalize.intern end