Class: Base
- Inherits:
-
Object
- Object
- Base
- Defined in:
- lib/whos_using_what/base.rb
Direct Known Subclasses
BaseApiClient, CompaniesSearcher, GatherCompanies, GeoTagger, GoogleLocationsClient, MongoHelper, TechAdTagger
Constant Summary collapse
- @@paths_set =
false
Instance Attribute Summary collapse
-
#set_paths ⇒ Object
readonly
Returns the value of attribute set_paths.
Class Method Summary collapse
Instance Attribute Details
#set_paths ⇒ Object (readonly)
Returns the value of attribute set_paths.
3 4 5 |
# File 'lib/whos_using_what/base.rb', line 3 def set_paths @set_paths end |
Class Method Details
.set_paths ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/whos_using_what/base.rb', line 7 def self.set_paths $:.unshift(File.('../data_gatherers', __FILE__)) $:.unshift(File.('../data_searchers', __FILE__)) $:.unshift(File.('../api_clients', __FILE__)) $:.unshift(File.('../no_sql', __FILE__)) $:.unshift(File.('../util', __FILE__)) $:.unshift(File.('../logging', __FILE__)) @@paths_set = true end |