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