Sha256: 5ccbe8d727a5c24613e9441e128c1ccf6af66fd72ab9018a14883785fd7ddf7d
Contents?: true
Size: 546 Bytes
Versions: 4
Compression:
Stored size: 546 Bytes
Contents
module Cucumber module Ast # Holds the names of tags parsed from a feature file: # # @invoice @release_2 # # This gets stored internally as <tt>["invoice", "release_2"]</tt> # class Tags def initialize(line, tag_names) @line, @tag_names = line, tag_names end def accept(visitor) @tag_names.each do |tag_name| visitor.visit_tag_name(tag_name) end end def to_sexp @tag_names.map{|tag_name| [:tag, tag_name]} end end end end
Version data entries
4 entries across 4 versions & 3 rubygems