lib/html2rss/attribute_post_processors/substring.rb in html2rss-0.8.1 vs lib/html2rss/attribute_post_processors/substring.rb in html2rss-0.8.2

- old
+ new

@@ -32,11 +32,11 @@ end ## # @return [String] def get - ending = @options.fetch('end', @value.length).to_i - @value[@options['start'].to_i..ending] + ending = @options.fetch(:end, @value.length).to_i + @value[@options[:start].to_i..ending] end end end end