Sha256: 25777eb761157dcc3f41c08e6d642d649e367a5526eaf2f8882266753982b7e7
Contents?: true
Size: 418 Bytes
Versions: 11
Compression:
Stored size: 418 Bytes
Contents
class Target attr_accessor :name, :identifier, :attributes, :is_private, :private_attributes def initialize( name, identifier = name, attributes = [], is_private = false ) @name = name @identifier = identifier @attributes = attributes @is_private = is_private @private_attributes = Set[] end def is_valid @identifier != nil && !@identifier.strip.empty? end end
Version data entries
11 entries across 11 versions & 1 rubygems