class Dbpedia::SearchResult::Category
Attributes
label[RW]
uri[RW]
Public Instance Methods
parse()
click to toggle source
# File lib/dbpedia/search_result/category.rb, line 7 def parse self.tap do |obj| obj.label = read '> Label' obj.uri = read '> URI' end end