# File lib/maruku/defaults.rb, line 57 def get_setting(sym) if self.attributes.has_key?(sym) then return self.attributes[sym] elsif self.doc && self.doc.attributes.has_key?(sym) then return self.doc.attributes[sym] elsif MaRuKu::Globals.has_key?(sym) return MaRuKu::Globals[sym] else $stderr.puts "Bug: no default for #{sym.inspect}" nil end end