Sha256: 864053e8b3aaea2aef25113f3820ea0f641bdd6731ef1862876bfc59de327780

Contents?: true

Size: 350 Bytes

Versions: 11

Compression:

Stored size: 350 Bytes

Contents

module Html2rss
  module ItemExtractors
    ##
    # Returns the current Time.
    #
    # YAML usage example:
    #
    #    selectors:
    #      updated:
    #        extractor: current_time
    class CurrentTime
      def initialize(_xml, _options); end

      ##
      # @return [Time]
      def get
        Time.new
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
html2rss-0.9.0 lib/html2rss/item_extractors/current_time.rb
html2rss-0.8.2 lib/html2rss/item_extractors/current_time.rb
html2rss-0.8.1 lib/html2rss/item_extractors/current_time.rb
html2rss-0.8.0 lib/html2rss/item_extractors/current_time.rb
html2rss-0.7.0 lib/html2rss/item_extractors/current_time.rb
html2rss-0.6.0 lib/html2rss/item_extractors/current_time.rb
html2rss-0.5.2 lib/html2rss/item_extractors/current_time.rb
html2rss-0.5.1 lib/html2rss/item_extractors/current_time.rb
html2rss-0.5.0 lib/html2rss/item_extractors/current_time.rb
html2rss-0.4.1 lib/html2rss/item_extractors/current_time.rb
html2rss-0.4.0 lib/html2rss/item_extractors/current_time.rb