lib/jekyll/page.rb in jekyll-0.1.4 vs lib/jekyll/page.rb in jekyll-0.1.5
- old
+ new
@@ -7,11 +7,11 @@
attr_accessor :data, :content, :output
# Initialize a new Page.
# +base+ is the String path to the <source>
# +dir+ is the String path between <source> and the file
- # +name+ is the String filename of the post file
+ # +name+ is the String filename of the file
#
# Returns <Page>
def initialize(base, dir, name)
@base = base
@dir = dir
@@ -22,11 +22,11 @@
self.process(name)
self.read_yaml(File.join(base, dir), name)
#self.transform
end
- # Extract information from the post filename
- # +name+ is the String filename of the post file
+ # Extract information from the page filename
+ # +name+ is the String filename of the page file
#
# Returns nothing
def process(name)
self.ext = File.extname(name)
end
\ No newline at end of file