Sha256: 1992eb76ddfb45cca2dc3dfae09718fd468682a106b58a5c384317aa7c4f0163

Contents?: true

Size: 675 Bytes

Versions: 129

Compression:

Stored size: 675 Bytes

Contents

# frozen_string_literal: true

require_relative 'action'
module Bundler::Molinillo
  class DependencyGraph
    # @!visibility private
    # @see DependencyGraph#tag
    class Tag < Action
      # @!group Action

      # (see Action.action_name)
      def self.action_name
        :tag
      end

      # (see Action#up)
      def up(graph)
      end

      # (see Action#down)
      def down(graph)
      end

      # @!group Tag

      # @return [Object] An opaque tag
      attr_reader :tag

      # Initialize an action to tag a state of a dependency graph
      # @param [Object] tag an opaque tag
      def initialize(tag)
        @tag = tag
      end
    end
  end
end

Version data entries

129 entries across 129 versions & 4 rubygems

Version Path
bundler-2.3.0 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.33 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.33 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.32 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.32 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.31 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.31 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.30 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.30 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.29 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.29 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.28 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.28 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.27 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.27 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.26 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.26 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.25 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.25 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.24 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb