Class: SafeString

Inherits:
String show all
Defined in:
lib/xss_shield/safe_string.rb

Instance Method Summary collapse

Methods inherited from String

#mark_as_xss_protected

Instance Method Details

#to_sObject



2
3
4
# File 'lib/xss_shield/safe_string.rb', line 2

def to_s
  self
end

#to_s_xss_protectedObject



5
6
7
# File 'lib/xss_shield/safe_string.rb', line 5

def to_s_xss_protected
  self
end