Class: Highscore::Blacklist
- Defined in:
- lib/highscore/blacklist.rb
Overview
blacklisted words to be ignored in the resulting keywords
Instance Attribute Summary
Attributes inherited from Wordlist
Class Method Summary collapse
-
.load_default_file ⇒ Object
load default file.
Methods inherited from Wordlist
#<<, #each, #include?, #initialize, #length, load, load_file, #to_a
Constructor Details
This class inherits a constructor from Highscore::Wordlist
Class Method Details
.load_default_file ⇒ Object
load default file
13 14 15 16 |
# File 'lib/highscore/blacklist.rb', line 13 def self.load_default_file file_path = File.join(File.dirname(__FILE__), %w{.. blacklist.txt}) self.load_file(file_path) end |