lib/html2rss/item_extractors/attribute.rb in html2rss-0.8.1 vs lib/html2rss/item_extractors/attribute.rb in html2rss-0.8.2
- old
+ new
@@ -28,10 +28,10 @@
end
##
# @return [String]
def get
- @element.attr(@options['attribute']).to_s
+ @element.attr(@options[:attribute]).to_s
end
end
end
end