Permalink
Browse files

Merge pull request #419 from vjt/master

Exception handler in Convertible references nonexisting method .name
  • Loading branch information...
2 parents 613a7a4 + f0f99ea commit 3c2519f07d660472705cc98477abbce4aca4a25c @mojombo mojombo committed Jan 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/jekyll/post.rb
View
2 lib/jekyll/post.rb
@@ -22,6 +22,8 @@ def self.valid?(name)
attr_accessor :data, :content, :output, :ext
attr_accessor :date, :slug, :published, :tags, :categories
+ attr_reader :name
+
# Initialize this Post instance.
# +site+ is the Site
# +base+ is the String path to the dir containing the post file

0 comments on commit 3c2519f

Please sign in to comment.