Class KizAPI::KeywordInContexts::Context
In: lib/kizapi.rb
Parent: Array

Methods

new  

Attributes

date  [R] 
link  [R] 
title  [R] 

Public Class methods

[Source]

    # File lib/kizapi.rb, line 71
71:       def initialize(item)
72:         @title = item.title
73:         @date = item.pubDate
74:         @link = URI.parse(item.link)
75:         item.description.split("<br>")[0..2].each do |s|
76:           push s unless /^<ul>/.match(s)
77:         end
78:       end

[Validate]