Class: Threatinator::Config::FeedSearch
- Defined in:
- lib/threatinator/config/feed_search.rb
Constant Summary collapse
- DEFAULT_FEED_PATH =
File.("../../../../feeds", __FILE__)
Instance Method Summary collapse
-
#search_path ⇒ Array<String>
An array of paths to search.
Methods inherited from Base
Instance Method Details
#search_path ⇒ Array<String>
Returns An array of paths to search.
15 16 17 18 19 20 21 |
# File 'lib/threatinator/config/feed_search.rb', line 15 def search_path ret = self.path if self.exclude_default == false ret = ret + [DEFAULT_FEED_PATH] end ret end |