class Awestruct::Layouts

Public Instance Methods

find_matching(simple_name, output_extension) click to toggle source
# File lib/awestruct/layouts.rb, line 5
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