Permalink
Browse files

removed whitespace

  • Loading branch information...
1 parent a0ba768 commit 5389f45e247e220ab10a00e13d011497381f6664 @mdb committed Jul 15, 2014
Showing with 4 additions and 4 deletions.
  1. +3 −3 lib/wp2middleman/middleman_post.rb
  2. +1 −1 lib/wp2middleman/post_collection.rb
@@ -60,12 +60,12 @@ def markdown_content
html.markdown
end
- private
+ private
attr_reader :wp_post, :body_to_markdown, :include_fields
- def frontmatter
+ def frontmatter
@frontmatter ||= Frontmatter.new(wp_post, include_fields: include_fields)
end
end
-end
+end
@@ -4,7 +4,7 @@ module WP2Middleman
class PostCollection
include Enumerable
- def self.from_file(wp_xml_export_file)
+ def self.from_file(wp_xml_export_file)
xml = Nokogiri::XML(File.open("#{Dir.pwd}/#{wp_xml_export_file}"))
new xml.css('item').collect { |raw_wp_post| WP2Middleman::Post.new(raw_wp_post) }
end

0 comments on commit 5389f45

Please sign in to comment.