lib/slide_hero.rb in slide_hero-0.0.3 vs lib/slide_hero.rb in slide_hero-0.0.4
- old
+ new
@@ -13,6 +13,15 @@
module SlideHero
def self.get_binding
binding
end
+
+ def self.template_path
+ gem = Gem.loaded_specs['slide_hero']
+ if gem
+ gem.full_gem_path
+ else
+ '.'
+ end
+ end
end