From 7e12de00871777069319bfb02bf63ffc59ed47ed Mon Sep 17 00:00:00 2001 From: risk Date: Thu, 21 Jul 2011 16:19:48 -0700 Subject: [PATCH] tomdoc --- lib/gollum/wiki.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/gollum/wiki.rb b/lib/gollum/wiki.rb index 28437fac..19cfb1e5 100644 --- a/lib/gollum/wiki.rb +++ b/lib/gollum/wiki.rb @@ -66,10 +66,14 @@ module Gollum end end + # Gets the default markup class used by all instances of this Wiki. + # Kept for backwards compatibility until Gollum v2.x def markup_class markup_classes[:default] end + # Sets the default markup class used by all instances of this Wiki. + # Kept for backwards compatibility until Gollum v2.x def markup_class=(default) new_classes = Hash.new default @markup_classes = Hash.new(default).update(markup_classes)