Class: RSS::Rss::Channel::Item::Enclosure
- Inherits:
-
Object
- Object
- RSS::Rss::Channel::Item::Enclosure
- Defined in:
- lib/parsers/rss.rb
Overview
Add equality onto Enclosures.
Instance Method Summary collapse
- #eql?(enc) ⇒ Boolean (also: #==)
Instance Method Details
#eql?(enc) ⇒ Boolean Also known as: ==
12 13 14 15 16 |
# File 'lib/parsers/rss.rb', line 12 def eql?(enc) instance_variables.all? do |iv| instance_variable_get(iv) == enc.instance_variable_get(iv) end end |