Method: Ariel::LabelUtils.clean_string

Defined in:
lib/ariel/label_utils.rb

.clean_string(string) ⇒ Object

Removes all labels such as <l:title> from the given string and returns the result.



26
27
28
# File 'lib/ariel/label_utils.rb', line 26

def self.clean_string(string)
  string.gsub self.any_label_regex, ''
end