Method: MindWords#to_words

Defined in:
lib/mindwords.rb

#to_wordsObject



350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
# File 'lib/mindwords.rb', line 350

def to_words()

  h = {}

  Rexle.new(to_xml).root.each_recursive do |e|

    h[e.attributes[:title]] = {
      breadcrumb: e.attributes[:breadcrumb],
      hashtags: e.attributes[:hashtags]
    }

  end

  h

end