class WorldDb::PartReader

Public Instance Methods

read() click to toggle source
# File lib/worlddb/readers/state.rb, line 21
def read
  reader = ValuesReader.from_string( @text, @more_attribs )

  reader.each_line do |attribs, values|
    opts = { skip_tags: skip_tags? }
    Part.create_or_update_from_attribs( attribs, values, opts )
  end
end