Google

def instructions find_all { |child| child.kind_of? Instruction }.freeze end