From 88686e759edcf5d89bfa62fc41c45176749e9386 Mon Sep 17 00:00:00 2001 From: Colin Dean Date: Mon, 23 Dec 2013 12:56:02 -0500 Subject: [PATCH] Add `path` to required methods The error messages in this module call `#path`, but the module does not require the `path` method to be implemented. This change documents that classes which include `Convertible` must define `path`. See #1846 for discussion. --- lib/jekyll/convertible.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/jekyll/convertible.rb b/lib/jekyll/convertible.rb index 815c36b0..f75efd66 100644 --- a/lib/jekyll/convertible.rb +++ b/lib/jekyll/convertible.rb @@ -13,6 +13,7 @@ require 'set' # self.ext= # self.output= # self.name +# self.path module Jekyll module Convertible # Returns the contents as a String.