class Justicecz::Html::ResultList

Public Class Methods

collection(body) click to toggle source
# File lib/justicecz/html/result_list.rb, line 8
def self.collection(body)
  new(body).collection
end
new(body) click to toggle source
# File lib/justicecz/html/result_list.rb, line 4
def initialize(body)
  @body = body
end

Public Instance Methods

collection() click to toggle source
# File lib/justicecz/html/result_list.rb, line 12
def collection
  @body.search('li.result table.result-details')
end