mirror of
https://0xacab.org/sutty/sutty
synced 2024-07-08 22:55:45 +00:00
13 lines
217 B
Ruby
13 lines
217 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module CoreExtensions
|
||
|
module String
|
||
|
# Elimina el HTML
|
||
|
module StripTags
|
||
|
def strip_tags
|
||
|
ActionController::Base.helpers.strip_tags(self)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|