Method: RDoc::Generator::JsonIndex#search_string
- Defined in:
- lib/rdoc/generator/json_index.rb
#search_string(string) ⇒ Object
Removes whitespace and downcases string
296 297 298 |
# File 'lib/rdoc/generator/json_index.rb', line 296 def search_string string string.downcase.gsub(/\s/, '') end |