class Feed

Attributes

group[R]
url[R]

Public Class Methods

new(url, group) click to toggle source
# File lib/feed.rb, line 4
def initialize(url, group)
  @url = url
  @group = group
end

Public Instance Methods

==(other) click to toggle source
# File lib/feed.rb, line 9
def ==(other)
  !other.nil? && @url == other.url && @group == other.group
end
to_s() click to toggle source
# File lib/feed.rb, line 13
def to_s
  "[#{@group}] #{@url}"
end