module Awestruct class Layouts < Array def find_matching(simple_name, output_extension) $LOG.debug "find matching ( #{simple_name}, #{output_extension} )" if $LOG.debug? self.find{|e| ( e.simple_name == simple_name ) && ( e.output_extension == output_extension ) } end end end