Skip to content

Commit

Permalink
This has been just an accessor since 1b784bc
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed May 25, 2019
1 parent 52e1698 commit d6c50ec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/haml/options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def wrap(options)
# 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
Expand Down Expand Up @@ -241,10 +241,6 @@ def cdata
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
Expand Down

0 comments on commit d6c50ec

Please sign in to comment.