lib/blogo/renderer.rb in blogo-0.1.1 vs lib/blogo/renderer.rb in blogo-0.1.2
- old
+ new
@@ -2,11 +2,10 @@
require 'blogo/renderer/html'
require 'blogo/renderer/markdown'
module Blogo
module Renderer
-
# Maps format names to renderers.
RENDERERS = {
:markdown => Blogo::Renderer::Markdown,
:html => Blogo::Renderer::Html
}
@@ -22,8 +21,7 @@
renderer_class.new
else
raise(Blogo::Error, "Can't find renderer #{format.inspect}")
end
end
-
end
end