class WorldDb::CountyReader
Public Instance Methods
read()
click to toggle source
# File lib/worlddb/readers/state.rb, line 35 def read reader = ValuesReader.from_string( @text, @more_attribs ) reader.each_line do |attribs, values| opts = { skip_tags: skip_tags? } County.create_or_update_from_attribs( attribs, values, opts ) end end