= private = protected
collect()
Like Array#collect.
# File lib/matrix.rb, line 2040 def collect(&block) # :yield: e return to_enum(:collect) unless block_given? els = @elements.collect(&block) self.class.elements(els, false) end