Module | Bio::PDB::ModelFinder
In: | lib/bio/db/pdb/utils.rb

methods to access models

XXX#each_model must be defined.

Bio::PDB::ModelFinder is included by Bio::PDB::PDB.

### Methods

find_model

### Public Instance methods

find_model() {|model| ...}

returns an array containing all chains for which given block is not `false` (similar to Enumerable#find_all).

[Source]

         # File lib/bio/db/pdb/utils.rb, line 230
    230:     def find_model
    231:       array = []
    232:       self.each_model do |model|
    233:         array.push(model) if yield(model)
    234:       end
    235:       return array
    236:     end

[Validate]