Sha256: 3d047637cc6404f0372ea7b016c010275cd449bfb8541e5301673432c706f032

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

module ApidocToGFM
  module Views
    module Helpers
      def template_exists?
        path = File.join(self.template_path, self.template_name)
        File.exists? path
      end

      def template_path_from_gem
        File.expand_path("../../../../templates", __FILE__)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apidoc_to_gfm-0.0.1 lib/apidoc_to_gfm/views/helpers.rb