Class: Tomdoccery::Web

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/tomdoccery/web.rb

Instance Method Summary collapse

Instance Method Details

#sanitize(s) ⇒ Object



13
14
15
# File 'lib/tomdoccery/web.rb', line 13

def sanitize(s)
  s.gsub!('#', '') rescue nil
end