georgi-shinmun 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/shinmun.rb +1 -0
- data/lib/shinmun/post.rb +1 -6
- metadata +1 -1
data/lib/shinmun.rb
CHANGED
data/lib/shinmun/post.rb
CHANGED
@@ -94,14 +94,9 @@ module Shinmun
|
|
94
94
|
self
|
95
95
|
end
|
96
96
|
|
97
|
-
# The header as yaml string.
|
98
|
-
def dump_head
|
99
|
-
head.empty? ? '' : head.to_yaml + "---\n"
|
100
|
-
end
|
101
|
-
|
102
97
|
# Convert to string representation
|
103
98
|
def dump
|
104
|
-
|
99
|
+
(head.empty? ? '' : head.to_yaml + "---") + body
|
105
100
|
end
|
106
101
|
|
107
102
|
# Transform the body of this post. Defaults to Markdown.
|