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.10 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.9 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.9 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.8 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.8 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.7 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.7 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.6 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.6 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.5 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.5 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.4 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.4 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.3 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.3 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.2 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.2 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.1 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.1 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.0 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb