mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
This has been just an accessor since 1b784bcc50
This commit is contained in:
parent
52e1698e1f
commit
d6c50ecb5b
1 changed files with 1 additions and 5 deletions
|
@ -135,7 +135,7 @@ module Haml
|
|||
# formatting errors.
|
||||
#
|
||||
# Defaults to `false`.
|
||||
attr_reader :remove_whitespace
|
||||
attr_accessor :remove_whitespace
|
||||
|
||||
# Whether or not attribute hashes and Ruby scripts designated by `=` or `~`
|
||||
# should be evaluated. If this is `true`, said scripts are rendered as empty
|
||||
|
@ -241,10 +241,6 @@ module Haml
|
|||
xhtml? || @cdata
|
||||
end
|
||||
|
||||
def remove_whitespace=(value)
|
||||
@remove_whitespace = value
|
||||
end
|
||||
|
||||
def encoding=(value)
|
||||
return unless value
|
||||
@encoding = value.is_a?(Encoding) ? value.name : value.to_s
|
||||
|
|
Loading…
Add table
Reference in a new issue