Method: HTML#delete_tag

Defined in:
lib/html.rb

#delete_tag(text = @string) ⇒ Object



56
57
58
# File 'lib/html.rb', line 56

def delete_tag(text = @string)
  text.gsub(/<.+?>/, "")
end