Module: CgiSpa::Untaint

Defined in:
lib/cgi-spa/environment.rb

Instance Method Summary collapse

Instance Method Details

#untaint_if_match(regexp) ⇒ Object



29
30
31
# File 'lib/cgi-spa/environment.rb', line 29

def untaint_if_match regexp
  self.untaint if regexp.match(self)
end