Method: Fifa::CountryReader#split_tags

Defined in:
lib/fifa/country_reader.rb

#split_tags(str) ⇒ Object

helpers



123
124
125
126
127
# File 'lib/fifa/country_reader.rb', line 123

def split_tags( str )
  tags = str.split( /[|<>‹›]/ )   ## allow pipe (|) and (<>‹›) as divider for now - add more? why? why not?
  tags = tags.map { |tag| tag.strip }
  tags
end