Class: Html2rss::AttributePostProcessors::ParseUri
- Inherits:
-
Object
- Object
- Html2rss::AttributePostProcessors::ParseUri
- Defined in:
- lib/html2rss/attribute_post_processors/parse_uri.rb
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(value, _options, _item) ⇒ ParseUri
constructor
A new instance of ParseUri.
Constructor Details
#initialize(value, _options, _item) ⇒ ParseUri
Returns a new instance of ParseUri.
4 5 6 |
# File 'lib/html2rss/attribute_post_processors/parse_uri.rb', line 4 def initialize(value, , _item) @value = value end |
Instance Method Details
#get ⇒ Object
8 9 10 |
# File 'lib/html2rss/attribute_post_processors/parse_uri.rb', line 8 def get URI(@value).to_s end |