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
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/bundler-2.3.5/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.27 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.27 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/bundler-2.3.5/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.2.34 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.2.34 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/bundler-2.3.7/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.26 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.26 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.25 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.25 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.24 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.24 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.23 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.23 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.22 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.22 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.21 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-2.3.21 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-3.3.20 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb