Yard doc cleanup

This commit is contained in:
Thomas Reynolds 2012-05-02 11:13:06 -07:00
parent 1855745d8e
commit 2965e3709d
10 changed files with 40 additions and 27 deletions

View file

@ -102,11 +102,11 @@ module Middleman::CoreExtensions::FrontMatter
@_frontmatter_extension ||= FrontMatter.new(self)
end
# Get the frontmatter for the given params
# Get the frontmatter for a given path
# @param [String] path
# @return [Hash, nil]
def frontmatter(*args)
frontmatter_extension.data(*args)
# @return [Hash]
def frontmatter(path)
frontmatter_extension.data(path)
end
end