Module: Loofah::Helpers::ActionView::ClassMethods

Defined in:
lib/loofah/helpers.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#full_sanitizerObject



50
51
52
# File 'lib/loofah/helpers.rb', line 50

def full_sanitizer
  @full_sanitizer ||= ::Loofah::Helpers::ActionView::FullSanitizer.new
end

#safe_list_sanitizerObject



54
55
56
# File 'lib/loofah/helpers.rb', line 54

def safe_list_sanitizer
  @safe_list_sanitizer ||= ::Loofah::Helpers::ActionView::SafeListSanitizer.new
end

#white_list_sanitizerObject



58
59
60
61
# File 'lib/loofah/helpers.rb', line 58

def white_list_sanitizer
  warn("warning: white_list_sanitizer is deprecated, please use safe_list_sanitizer instead.")
  safe_list_sanitizer
end