最速Rubyリファレンスマニュアル検索!
すべて(6)
2.1.0(1)
2.2.0(1)
2.3.0(1)
2.4.0(1)
2.5.0(1)
2.6.0(1)
6件ヒット
[1-6件を表示]
(0.050秒)
トップページ
>
:
new
>
:
line
>
クラス:Shell::Filter
別のキーワード
openssl new
_builtin new
rexml/document new
resolv new
socket new
ライブラリ
shell
/
filter
(6)
検索結果
先頭1件
Shell
::
Filter
#
each(rs = nil) -> ()
Shell
::
Filter
#
each(rs = nil) -> ()
(19.0)
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
インスタンスメソッド
フィルタの一行ずつをblockに渡します。
...
行ずつをblockに渡します。
@param rs レコードセパレーターを表す文字列を指定します。
nil ならば、Shell.record_separatorの値が使用されます。
使用例
require 'shell'
sh = Shell.
new
sh.cat("/etc/passwd").each { |
line
|
puts
line
}
...