georgi-shinmun 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- 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.
|