Array
# File lib/bio/util/restriction_enzyme/range/cut_ranges.rb, line 21 def include?(i); self.collect{|a| a.include?(i)}.include?(true); end
# File lib/bio/util/restriction_enzyme/range/cut_ranges.rb, line 20 def max; self.collect{|a| a.max}.flatten.sort.last; end
# File lib/bio/util/restriction_enzyme/range/cut_ranges.rb, line 27 def max_vertical vertical_min_max_helper( :max ) end
# File lib/bio/util/restriction_enzyme/range/cut_ranges.rb, line 33 def vertical_min_max_helper( sym_which ) tmp = [] self.each do |a| next unless a.class == Bio::RestrictionEnzyme::Range::VerticalCutRange tmp << a.send( sym_which ) end z = (sym_which == :max) ? :last : :first tmp.flatten.sort.send(z) end
Generated with the Darkfish Rdoc Generator 2.