mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Haml] User #attr_accessor rather than #attr in Engine.
This commit is contained in:
parent
60f9b4f37b
commit
56c2f83704
1 changed files with 3 additions and 3 deletions
|
@ -17,16 +17,16 @@ module Haml
|
||||||
include Precompiler
|
include Precompiler
|
||||||
|
|
||||||
# Allow reading and writing of the options hash
|
# Allow reading and writing of the options hash
|
||||||
attr :options, true
|
attr_accessor :options
|
||||||
|
|
||||||
# This string contains the source code that is evaluated
|
# This string contains the source code that is evaluated
|
||||||
# to produce the Haml document.
|
# to produce the Haml document.
|
||||||
attr :precompiled, true
|
attr_accessor :precompiled
|
||||||
|
|
||||||
# A string containing the indentation used for the Haml document.
|
# A string containing the indentation used for the Haml document.
|
||||||
# nil if the indentation is ambiguous
|
# nil if the indentation is ambiguous
|
||||||
# (for example, for a single-level document).
|
# (for example, for a single-level document).
|
||||||
attr :indentation, true
|
attr_accessor :indentation
|
||||||
|
|
||||||
# True if the format is XHTML
|
# True if the format is XHTML
|
||||||
def xhtml?
|
def xhtml?
|
||||||
|
|
Loading…
Add table
Reference in a new issue