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