1
0
Fork 0
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:
Nathan Weizenbaum 2009-04-30 13:34:54 -07:00
parent 60f9b4f37b
commit 56c2f83704

View file

@ -17,16 +17,16 @@ module Haml
include Precompiler
# Allow reading and writing of the options hash
attr :options, true
attr_accessor :options
# This string contains the source code that is evaluated
# to produce the Haml document.
attr :precompiled, true
attr_accessor :precompiled
# A string containing the indentation used for the Haml document.
# nil if the indentation is ambiguous
# (for example, for a single-level document).
attr :indentation, true
attr_accessor :indentation
# True if the format is XHTML
def xhtml?