Browse files

alias to_s to generate

  • Loading branch information...
1 parent b506e13 commit 403b6b12ddb8f5d941f0bd0737211e56a984d2f0 Lee Jarvis committed Nov 26, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/albeano.rb
View
2 lib/albeano.rb
@@ -22,6 +22,8 @@ def generate
end
end
+ alias :to_s :generate
+
def to_markdown(*extensions)
begin
require 'rdiscount'

0 comments on commit 403b6b1

Please sign in to comment.