Sha256: f875a4053b591e4a92701339dc1bda8474e731993ba4102170a057ba02dac748

Contents?: true

Size: 327 Bytes

Versions: 11

Compression:

Stored size: 327 Bytes

Contents

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
awestruct-0.5.4.rc3 lib/awestruct/layouts.rb
awestruct-0.5.4.rc2 lib/awestruct/layouts.rb
awestruct-0.5.4.rc lib/awestruct/layouts.rb
awestruct-0.5.4.beta1 lib/awestruct/layouts.rb
awestruct-0.5.3 lib/awestruct/layouts.rb
awestruct-0.5.2.1 lib/awestruct/layouts.rb
awestruct-0.5.2 lib/awestruct/layouts.rb
awestruct-0.5.1 lib/awestruct/layouts.rb
awestruct-0.5.1a lib/awestruct/layouts.rb
awestruct-0.5.0 lib/awestruct/layouts.rb
awestruct-0.5.0.cr lib/awestruct/layouts.rb