APIdock / Ruby
/
method

collect

ruby latest stable - Class: Vector
collect()
public
# File lib/matrix.rb, line 2020
 def collect(&block) # :yield: e
 return to_enum(:collect) unless block_given?
 els = @elements.collect(&block)
 self.class.elements(els, false)
 end

AltStyle によって変換されたページ (->オリジナル) /