Exception: ActiveSupport::SafeBuffer::SafeConcatError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ro/html_safe.rb

Overview

Raised when ActiveSupport::SafeBuffer#safe_concat is called on unsafe buffers.

Instance Method Summary collapse

Constructor Details

#initializeSafeConcatError

Returns a new instance of SafeConcatError.



29
30
31
# File 'lib/ro/html_safe.rb', line 29

def initialize
  super "Could not concatenate to the buffer because it is not html safe."
end