Module: ERB::Util
- Defined in:
- lib/xss_shield/safe_string.rb
Overview
ERB::Util.h and (include ERB::Util; h) are different methods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.h_with_xss_protection(*args) ⇒ Object
25 26 27 |
# File 'lib/xss_shield/safe_string.rb', line 25 def h_with_xss_protection(*args) h_without_xss_protection(*args).xss_safe end |
Instance Method Details
#h_with_xss_protection(*args) ⇒ Object
31 32 33 |
# File 'lib/xss_shield/safe_string.rb', line 31 def h_with_xss_protection(*args) h_without_xss_protection(*args).xss_safe end |