Class: TurboReflex::Sanitizer

Inherits:
Object
  • Object
show all
Includes:
ActionView::Helpers::SanitizeHelper, Singleton
Defined in:
lib/turbo_reflex/sanitizer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#scrubberObject (readonly)

Returns the value of attribute scrubber.



7
8
9
# File 'lib/turbo_reflex/sanitizer.rb', line 7

def scrubber
  @scrubber
end

Instance Method Details

#sanitize(value) ⇒ Object



9
10
11
# File 'lib/turbo_reflex/sanitizer.rb', line 9

def sanitize(value)
  super value, scrubber: scrubber
end