Sha256: 1cb58596547661d99d2b7857f568ffb857dd9a77a23d88709faddc10f42495bf

Contents?: true

Size: 369 Bytes

Versions: 5

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

module Cucumber
  module Core
    module Test
      class Tag
        include HasLocation

        attr_reader :name

        def initialize(location, name)
          @location = location
          @name = name
        end

        def inspect
          %{#<#{self.class} "#{name}" (#{location})>}
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cucumber-core-14.0.0 lib/cucumber/core/test/tag.rb
cucumber-core-13.0.3 lib/cucumber/core/test/tag.rb
cucumber-core-13.0.2 lib/cucumber/core/test/tag.rb
cucumber-core-13.0.1 lib/cucumber/core/test/tag.rb
cucumber-core-13.0.0 lib/cucumber/core/test/tag.rb