APIdock / Ruby
/
method

each

ruby latest stable - Class: Shell ::Tee
each(rs = nil)
public

No documentation available.

# File lib/shell/builtin-command.rb, line 125
 def each(rs = nil)
 to = @shell.open(@to_filename, "w")
 begin
 super{|l| to << l; yield l}
 ensure
 to.close
 end
 end

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