Sha256: 53fb6b05c561778ddd2396bc4189ae48749bff040495ef65fa6cb7331d4d7418
Contents?: true
Size: 501 Bytes
Versions: 13
Compression:
Stored size: 501 Bytes
Contents
def related_sets with_self=false # refers to sets that users may configure from the current card - # NOT to sets to which the current card belongs [].tap do |sets| sets << [self_set_name, self_set_label] if with_self sets << [right_set_name, right_set_label] if known? && simple? end end def self_set_name Name[name, :self] end def self_set_label Card::Set::Self.label name end def right_set_name Name[name, :right] end def right_set_label Card::Set::Right.label name end
Version data entries
13 entries across 13 versions & 1 rubygems