1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Cleaning up a few method comments.

This commit is contained in:
Nathan Weizenbaum 2008-02-27 14:39:08 -08:00
parent b532ecc9c6
commit 73afdbf11b

View file

@ -24,7 +24,7 @@ module Haml
# to produce the Haml document. # to produce the Haml document.
attr :precompiled, true attr :precompiled, true
# True if the output is not HTML # True if the output is XHTML
def xhtml? def xhtml?
not html? not html?
end end
@ -34,12 +34,12 @@ module Haml
html4? or html5? html4? or html5?
end end
# True when the output is HTML4 # True if the output is HTML4
def html4? def html4?
@options[:output] == :html4 @options[:output] == :html4
end end
# True when the output is HTML5 # True if the output is HTML5
def html5? def html5?
@options[:output] == :html5 @options[:output] == :html5
end end