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.
This commit is contained in:
Colin Dean 2013-12-23 12:56:02 -05:00
parent 42aef79ab3
commit 88686e759e
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ require 'set'
# self.ext=
# self.output=
# self.name
# self.path
module Jekyll
module Convertible
# Returns the contents as a String.