Class: Bureaucrat::Utils::SafeString

Inherits:
String
  • Object
show all
Includes:
SafeData
Defined in:
lib/bureaucrat/utils.rb

Instance Method Summary collapse

Instance Method Details

#+(rhs) ⇒ Object



11
12
13
# File 'lib/bureaucrat/utils.rb', line 11

def +(rhs)
  rhs.is_a?(SafeString) ? SafeString.new(super(rhs)) : super(rhs)
end