Method: Bio::RestrictionEnzyme::DenseIntArray#reverse_each

Defined in:
lib/bio/util/restriction_enzyme/dense_int_array.rb

#reverse_eachObject

Same usage as Array#reverse_each



80
81
82
83
84
85
# File 'lib/bio/util/restriction_enzyme/dense_int_array.rb', line 80

def reverse_each
  @data.reverse_each do |elem|
    elem.last.downto(elem.first) { |num| yield num }
  end
  self
end