Sha256: 488a982bc9dad23930fba1b1c6236c80fec614d511dc5e71c58f5799a5714e2b
Contents?: true
Size: 486 Bytes
Versions: 3
Compression:
Stored size: 486 Bytes
Contents
class FeatureScenario #------------------------------- # Fields #------------------------------- attr_accessor :name attr_accessor :tags #------------------------------- # Constructos #------------------------------- def initialize(name:, tags:) @name = name @tags = format_tags(tags) || [] end private #------------------------------- # Helpers #------------------------------- def format_tags(tags) tags.map { |tag| tag[:name] } end end
Version data entries
3 entries across 3 versions & 1 rubygems