Method: Chkex::Source::Base#strip
- Defined in:
- lib/chkex/sources/base.rb
#strip(url) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/chkex/sources/base.rb', line 14 def strip(url) url.gsub('http://', '') .gsub('https://', '') .gsub('www.', '') .gsub('/', '') end |