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.2.14 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.13 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.13 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.12 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.12 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.11 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.11 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.10 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.10 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.9 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.9 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.8 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.8 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.7 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.7 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.6 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.6 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.5 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.5 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.4 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb