lib/vedeu/models/escape.rb in vedeu-0.6.25 vs lib/vedeu/models/escape.rb in vedeu-0.6.26
- old
+ new
@@ -63,15 +63,15 @@
# sense as HTML.
#
# @param _options [Hash] Ignored.
# @return [String]
def to_html(_options = {})
- ''
+ ''.freeze
end
# @return [String]
def to_s
- "#{position}#{value}"
+ "#{position}#{value}".freeze
end
alias_method :to_str, :to_s
private