class ThetvdbMapper::Base
Public Class Methods
to_array(string)
click to toggle source
# File lib/thetvdb_mapper/base.rb, line 2 def self.to_array(string) string.to_s.split('|').reject{ |element| element.empty? } end