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:
parent
b532ecc9c6
commit
73afdbf11b
1 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ module Haml
|
|||
# to produce the Haml document.
|
||||
attr :precompiled, true
|
||||
|
||||
# True if the output is not HTML
|
||||
# True if the output is XHTML
|
||||
def xhtml?
|
||||
not html?
|
||||
end
|
||||
|
@ -34,12 +34,12 @@ module Haml
|
|||
html4? or html5?
|
||||
end
|
||||
|
||||
# True when the output is HTML4
|
||||
# True if the output is HTML4
|
||||
def html4?
|
||||
@options[:output] == :html4
|
||||
end
|
||||
|
||||
# True when the output is HTML5
|
||||
# True if the output is HTML5
|
||||
def html5?
|
||||
@options[:output] == :html5
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue