Sha256: 9ad05334e7c4bb66c6367eb45cc4aeb602e79aad1c9488f51ff2d4fff7959a96

Contents?: true

Size: 709 Bytes

Versions: 15

Compression:

Stored size: 709 Bytes

Contents

# frozen_string_literal: true
require 'bundler/vendor/molinillo/lib/molinillo/dependency_graph/action'
module Bundler::Molinillo
  class DependencyGraph
    # @!visibility private
    # @see DependencyGraph#tag
    class Tag < Action
      # @!group Action

      # (see Action.name)
      def self.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

15 entries across 15 versions & 2 rubygems

Version Path
bundler-1.13.7 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-2.6.8 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-1.13.6 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-1.13.5 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-1.13.4 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-1.13.3 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-1.13.2 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-2.6.7 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-1.13.1 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-1.13.0 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-1.13.0.rc.2 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-1.13.0.rc.1 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-2.6.6 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
rubygems-update-2.6.5 bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
bundler-1.13.0.pre.1 lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb