Sha256: 424ebb81d4bedf5778ace265992042540daeae98bb42a2c50a35984d6398a9aa

Contents?: true

Size: 356 Bytes

Versions: 5

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

module Trifle
  module Docs
    module Operations
      class Sitemap
        def initialize(**keywords)
          @config = keywords[:config]
        end

        def config
          @config || Trifle::Docs.default
        end

        def perform
          config.harvester.sitemap
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trifle-docs-0.3.1 lib/trifle/docs/operations/sitemap.rb
trifle-docs-0.3.0 lib/trifle/docs/operations/sitemap.rb
trifle-docs-0.2.0 lib/trifle/docs/operations/sitemap.rb
trifle-docs-0.1.1 lib/trifle/docs/operations/sitemap.rb
trifle-docs-0.1.0 lib/trifle/docs/operations/sitemap.rb