Libraries
»
narou
(2.8.3)
»
Index
»
HTML
»
#delete_tag
Method: HTML#delete_tag
Defined in:
lib/html.rb
#
delete_tag
(text = @string) ⇒
Object
49 50 51
# File 'lib/html.rb', line 49
def
delete_tag
(
text
=
@string
)
text
.
gsub
(
/
<.+?>
/
,
"
"
)
end