Module: ApidocToGFM::Views::Helpers
Instance Method Summary collapse
Instance Method Details
#template_exists? ⇒ Boolean
4 5 6 7 |
# File 'lib/apidoc_to_gfm/views/helpers.rb', line 4 def template_exists? path = File.join(self.template_path, self.template_name) File.exists? path end |
#template_path_from_gem ⇒ Object
9 10 11 |
# File 'lib/apidoc_to_gfm/views/helpers.rb', line 9 def template_path_from_gem File.("../../../../templates", __FILE__) end |