lib/LoomioScraper.rb in LoomioScraper-0.1.0 vs lib/LoomioScraper.rb in LoomioScraper-0.1.1
- old
+ new
@@ -4,6 +4,10 @@
require "LoomioScraper/version"
require "LoomioScraper/activity"
module LoomioScraper
# Your code goes here...
+ def self.home_dir
+ Gem::Specification.find_by_name(self.name).gem_dir
+ end
+
end