class Gamefic::Query::Siblings
Query the subject’s siblings (i.e., entities with the same parent).
def span(subject)
def span(subject) (subject.parent&.children || []) - [subject] end
Query the subject’s siblings (i.e., entities with the same parent).
def span(subject) (subject.parent&.children || []) - [subject] end