ライブラリ
- English (5)
- ビルトイン (1)
- csv (2)
- etc (1)
-
irb
/ context (3) -
irb
/ input-method (23) - readline (1)
-
rexml
/ document (1) - rss (45)
-
rubygems
/ package / tar _ input (9) -
rubygems
/ requirement (1) -
rubygems
/ specification (2) -
rubygems
/ version (1) -
shell
/ builtin-command (2) -
shell
/ filter (2) -
shell
/ system-command (1) - win32ole (2)
- zlib (1)
クラス
- CSV (2)
-
Encoding
:: InvalidByteSequenceError (1) -
Gem
:: Package :: TarInput (8) -
Gem
:: Requirement (1) -
Gem
:: Specification (2) -
Gem
:: Version (1) -
IRB
:: Context (3) -
IRB
:: FileInputMethod (3) -
IRB
:: InputMethod (4) -
IRB
:: ReadlineInputMethod (6) -
IRB
:: StdioInputMethod (6) -
REXML
:: Text (1) -
RSS
:: Maker :: RSSBase (1) -
RSS
:: Maker :: TextinputBase (8) -
RSS
:: RDF (2) -
RSS
:: RDF :: Channel (2) -
RSS
:: RDF :: Channel :: Textinput (2) -
RSS
:: RDF :: Textinput (12) -
RSS
:: Rss (1) -
RSS
:: Rss :: Channel (2) -
RSS
:: Rss :: Channel :: TextInput (8) -
Shell
:: AppendFile (1) -
Shell
:: AppendIO (1) -
Shell
:: Filter (2) -
Shell
:: SystemCommand (1) -
WIN32OLE
_ PARAM (2) -
Zlib
:: GzipFile :: Error (1)
キーワード
-
$ DEFAULT _ INPUT (1) -
$ INPUT _ LINE _ NUMBER (1) -
$ INPUT _ RECORD _ SEPARATOR (1) -
$ NR (1) -
$ RS (1) - FileInputMethod (1)
- InputMethod (1)
-
PC
_ MAX _ INPUT (1) - ReadlineInputMethod (1)
- StdioInputMethod (1)
- TarInput (1)
- TextInput (1)
- Textinput (5)
- TextinputBase (1)
- about (1)
- about= (1)
- close (1)
- create (2)
- date (1)
- date= (1)
- description (3)
- description= (3)
- each (1)
- encoding (3)
- eof? (2)
-
extract
_ entry (1) -
file
_ input? (1) -
file
_ name (1) - filter (2)
-
from
_ yaml (1) - gets (4)
-
incomplete
_ input? (1) - input= (5)
- input? (1)
- io (1)
-
irb
/ input-method (1) - line (2)
- link (3)
- link= (3)
-
load
_ gemspec (1) - name (3)
- name= (3)
- new (6)
- normalize (1)
-
normalize
_ yaml _ input (1) - open (1)
- output? (1)
-
readable
_ atfer _ eof? (3) - resource (1)
- resource= (1)
-
rubygems
/ package / tar _ input (1) - textInput (1)
- textInput= (1)
- textinput (4)
- textinput= (2)
- title (3)
- title= (3)
-
zipped
_ stream (1)
検索結果
先頭5件
-
Shell
:: Filter # input -> Shell :: Filter | nil (72604.0) -
現在のフィルターを返します。
現在のフィルターを返します。 -
Zlib
:: GzipFile :: Error # input -> String | nil (72604.0) -
読み込んだ文字列(gzip 形式で圧縮されたもの)を返します。
読み込んだ文字列(gzip 形式で圧縮されたもの)を返します。 -
Readline
. input=(input) (37321.0) -
readline メソッドで使用する入力用の File オブジェクト input を指定します。 戻り値は指定した File オブジェクト input です。
readline メソッドで使用する入力用の File オブジェクト input を指定します。
戻り値は指定した File オブジェクト input です。
@param input File オブジェクトを指定します。 -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (37225.0) -
YAML 形式の gemspec を正しくフォーマットします。
YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。 -
WIN32OLE
_ PARAM # input? -> bool (36658.0) -
パラメータがクライアントからサーバへ与えるものかを判定します。
パラメータがクライアントからサーバへ与えるものかを判定します。
OLEオートメーションのパラメータは、in(クライアントからサーバへ与える。
WIN32OLE_PARAM#input?が真)、out(サーバがクライアントへ与える。
WIN32OLE_PARAM#output?が真)および、inout(クライアントからサーバ
へ与え、サーバがクライアントへ与える)の3種類の方向属性のいずれかを持ち
ます。
input?メソッドはin属性またはinout属性なら真を返します。
@return メソッドの方向属性がinまたはinoutならば真を返します。
tobj = WIN32OLE... -
Encoding
:: InvalidByteSequenceError # incomplete _ input? -> bool (36640.0) -
エラー発生時に入力文字列が不足している場合に真を返します。
エラー発生時に入力文字列が不足している場合に真を返します。
つまり、マルチバイト文字列の途中で文字列が終わっている場合に
真を返します。これは後続の入力を追加することでエラーが
解消する可能性があることを意味します。
//emlist[例][ruby]{
ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
begin
ec.convert("abc\xA1z")
rescue Encoding::InvalidByteSequenceError
p $!
#=> #<Encoding::InvalidByteSequenc... -
Kernel
$ $ DEFAULT _ INPUT -> IO (36622.0) -
$< の別名
$< の別名
require "English"
while line = $DEFAULT_INPUT.gets
p line
end
# end of sample.rb
ruby sample.rb < /etc/passwd
# => "hoge:x:500:501::/home/hoge:/bin/bash\n"
... -
Kernel
$ $ INPUT _ LINE _ NUMBER -> Integer (36622.0) -
$. の別名
$. の別名
1 e
2 f
3 g
4 h
5 i
# end of a.txt
require "English"
File.foreach(ARGV.at(0)){|line|
# read line
}
p $INPUT_LINE_NUMBER
# end of sample.rb
ruby sample.rb a.txt
#=> 5 -
Kernel
$ $ INPUT _ RECORD _ SEPARATOR -> String | nil (36622.0) -
$/ の別名
$/ の別名
require "English"
$INPUT_RECORD_SEPARATOR = '|'
array = []
while line = DATA.gets
array << line
end
p array #=> ["ugo|", "ego|", "fogo\n"]
__END__
ugo|ego|fogo -
IRB
:: Context # file _ input? -> bool (36604.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
Shell
:: AppendFile # input=(filter) (36604.0) -
@todo
@todo -
Shell
:: AppendIO # input=(filter) (36604.0) -
@todo
@todo -
Shell
:: Filter # input=(filter) (36604.0) -
フィルターを設定します。
フィルターを設定します。
@param filter フィルターを指定します。 -
Shell
:: SystemCommand # input=(inp) (36604.0) -
@todo
@todo -
RSS
:: Maker :: RSSBase # textinput (36601.0) -
@todo textinput要素を生成するオブジェクトを返します.
@todo
textinput要素を生成するオブジェクトを返します. -
RSS
:: RDF # textinput (36601.0) -
@todo
@todo -
RSS
:: RDF # textinput= (36601.0) -
@todo
@todo -
RSS
:: RDF :: Channel # textinput (36601.0) -
@todo
@todo -
RSS
:: RDF :: Channel # textinput= (36601.0) -
@todo
@todo -
RSS
:: Rss # textinput (36601.0) -
@todo
@todo -
RSS
:: Rss :: Channel # textInput (36601.0) -
@todo
@todo -
RSS
:: Rss :: Channel # textInput= (36601.0) -
@todo
@todo -
Gem
:: Package :: TarInput (36001.0) -
gem-format な tar ファイルを読み込む Gem::Package::TarReader のラッ パークラスです。
gem-format な tar ファイルを読み込む Gem::Package::TarReader のラッ
パークラスです。 -
IRB
:: FileInputMethod (36001.0) -
ファイルからの入力を表すクラスです。ライブラリ内部で使用します。
ファイルからの入力を表すクラスです。ライブラリ内部で使用します。 -
IRB
:: InputMethod (36001.0) -
抽象的な入力を表すクラスです。ライブラリ内部で使用します。
抽象的な入力を表すクラスです。ライブラリ内部で使用します。 -
IRB
:: ReadlineInputMethod (36001.0) -
readline を用いた標準入力からの入力を表すクラスです。ライブラリ内部で使 用します。readline の require に失敗した場合は定義されません。
readline を用いた標準入力からの入力を表すクラスです。ライブラリ内部で使
用します。readline の require に失敗した場合は定義されません。 -
IRB
:: StdioInputMethod (36001.0) -
標準入力を表すクラスです。ライブラリ内部で使用します。
標準入力を表すクラスです。ライブラリ内部で使用します。 -
RSS
:: Maker :: RSS09 :: Textinput (36001.0) -
-
RSS
:: Maker :: RSS10 :: Textinput (36001.0) -
-
RSS
:: Maker :: RSS20 :: Textinput (36001.0) -
-
RSS
:: Maker :: TextinputBase (36001.0) -
RSS 1.0の場合はtitle,description,name, link,maker.channelを適切に設定する必要がありま す.
RSS 1.0の場合はtitle,description,name,
link,maker.channelを適切に設定する必要がありま
す.
RSS 0.91/2.0の場合はtitle,description,
name,linkを設定する必要があります. -
RSS
:: RDF :: Channel :: Textinput (36001.0) -
-
RSS
:: RDF :: Textinput (36001.0) -
-
RSS
:: Rss :: Channel :: TextInput (36001.0) -
-
irb
/ input-method (36001.0) -
irb が入力を扱うためのサブライブラリです。
irb が入力を扱うためのサブライブラリです。
ユーザが直接使用するものではありません。 -
rubygems
/ package / tar _ input (36001.0) -
gem-format な tar ファイルを読み込む Gem::Package::TarReader のラッ パークラスを提供するライブラリです。
gem-format な tar ファイルを読み込む Gem::Package::TarReader のラッ
パークラスを提供するライブラリです。 -
Etc
:: PC _ MAX _ INPUT -> Integer (18604.0) -
IO#pathconf の引数に指定します。
IO#pathconf の引数に指定します。
詳細は fpathconf(3) を参照してください。 -
IRB
:: FileInputMethod . new(path) -> IRB :: FileInputMethod (18601.0) -
自身を初期化します。
自身を初期化します。
@param path パスを文字列で指定します。 -
IRB
:: InputMethod . new(file = STDIN _ FILE _ NAME) -> IRB :: InputMethod (18601.0) -
自身を初期化します。
自身を初期化します。 -
IRB
:: ReadlineInputMethod . new -> IRB :: ReadlineInputMethod (18601.0) -
自身を初期化します。
自身を初期化します。 -
IRB
:: StdioInputMethod . new -> IRB :: StdioInputMethod (18601.0) -
自身を初期化します。
自身を初期化します。 -
WIN32OLE
_ PARAM # output? -> bool (18319.0) -
パラメータがクライアントからの結果を受け取るためのものかを判定します。
パラメータがクライアントからの結果を受け取るためのものかを判定します。
OLEオートメーションのパラメータは、in(クライアントからサーバへ与える。
WIN32OLE_PARAM#input?が真)、out(サーバがクライアントへ与える。
WIN32OLE_PARAM#output?が真)および、inout(クライアントからサーバ
へ与え、サーバがクライアントへ与える)の3種類の方向属性のいずれかを持ち
ます。
output?メソッドはout属性またはinout属性なら真を返します。
@return メソッドの方向属性がoutまたはinoutならば真を返します。
tobj = W... -
Kernel
$ $ NR -> Integer (18022.0) -
$. の別名
$. の別名
1 e
2 f
3 g
4 h
5 i
# end of a.txt
require "English"
File.foreach(ARGV.at(0)){|line|
# read line
}
p $INPUT_LINE_NUMBER
# end of sample.rb
ruby sample.rb a.txt
#=> 5 -
Kernel
$ $ RS -> String | nil (18022.0) -
$/ の別名
$/ の別名
require "English"
$INPUT_RECORD_SEPARATOR = '|'
array = []
while line = DATA.gets
array << line
end
p array #=> ["ugo|", "ego|", "fogo\n"]
__END__
ugo|ego|fogo -
Gem
:: Package :: TarInput # close (18001.0) -
自身と自身に関連付けられた IO を close します。
自身と自身に関連付けられた IO を close します。 -
Gem
:: Package :: TarInput # each {|entry| . . . } (18001.0) -
data.tar.gz の各エントリをブロックに渡してブロックを評価します。
data.tar.gz の各エントリをブロックに渡してブロックを評価します。
@see Gem::Package::TarReader#each -
Gem
:: Package :: TarInput # extract _ entry(destdir , entry , expected _ md5sum = nil) (18001.0) -
指定された destdir に entry を展開します。
指定された destdir に entry を展開します。
@param destdir 展開先のディレクトリを指定します。
@param entry エントリを指定します。
@param expected_md5sum 期待する MD5 チェックサムを指定します。
@raise Gem::Package::BadCheckSum チェックサムが一致しなかった場合に発生します。 -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (18001.0) -
YAML 形式の gemspec を io から読み込みます。
YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml -
Gem
:: Package :: TarInput # metadata -> Gem :: Specification (18001.0) -
メタデータを返します。
メタデータを返します。 -
Gem
:: Package :: TarInput # zipped _ stream(entry) -> StringIO (18001.0) -
与えられた entry の圧縮したままの StringIO を返します。
与えられた entry の圧縮したままの StringIO を返します。
@param entry エントリを指定します。 -
Gem
:: Package :: TarInput . new(io , security _ policy = nil) (18001.0) -
@todo ??? このクラスを初期化します。
@todo ???
このクラスを初期化します。
@param io 自身に関連付ける IO を指定します。
@param security_policy ??? -
Gem
:: Package :: TarInput . open(io , security _ policy = nil) {|is| . . . } (18001.0) -
@todo ??? ブロックに Gem::Package::TarInput のインスタンスを与えて評価します。
@todo ???
ブロックに Gem::Package::TarInput のインスタンスを与えて評価します。
@param io 自身に関連付ける IO を指定します。
@param security_policy ??? -
IRB
:: FileInputMethod # encoding -> Encoding (18001.0) -
読み込んだファイルの文字エンコーディングを返します。
読み込んだファイルの文字エンコーディングを返します。 -
IRB
:: FileInputMethod # gets -> String (18001.0) -
読み込んだファイルから文字列を 1 行読み込みます。
読み込んだファイルから文字列を 1 行読み込みます。 -
IRB
:: InputMethod # file _ name -> String (18001.0) -
ファイル名を文字列で返します。
ファイル名を文字列で返します。 -
IRB
:: InputMethod # gets (18001.0) -
NotImplementedError が発生します。
NotImplementedError が発生します。
@raise NotImplementedError 必ず発生します。 -
IRB
:: InputMethod # readable _ atfer _ eof? -> false (18001.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
IRB
:: ReadlineInputMethod # encoding -> Encoding (18001.0) -
自身の文字エンコーディングを返します。
自身の文字エンコーディングを返します。 -
IRB
:: ReadlineInputMethod # eof? -> bool (18001.0) -
入力が EOF(End Of File)に達したかどうかを返します。
入力が EOF(End Of File)に達したかどうかを返します。 -
IRB
:: ReadlineInputMethod # gets -> String (18001.0) -
標準入力から文字列を 1 行読み込みます。
標準入力から文字列を 1 行読み込みます。 -
IRB
:: ReadlineInputMethod # line(line _ no) -> String (18001.0) -
引数 line_no で指定した過去の入力を行単位で返します。
引数 line_no で指定した過去の入力を行単位で返します。
@param line_no 取得する行番号を整数で指定します。 -
IRB
:: ReadlineInputMethod # readable _ atfer _ eof? -> false (18001.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
IRB
:: StdioInputMethod # encoding -> Encoding (18001.0) -
自身の文字エンコーディングを返します。
自身の文字エンコーディングを返します。 -
IRB
:: StdioInputMethod # eof? -> bool (18001.0) -
入力が EOF(End Of File)に達したかどうかを返します。
入力が EOF(End Of File)に達したかどうかを返します。 -
IRB
:: StdioInputMethod # gets -> String (18001.0) -
標準入力から文字列を 1 行読み込みます。
標準入力から文字列を 1 行読み込みます。 -
IRB
:: StdioInputMethod # line(line _ no) -> String (18001.0) -
引数 line_no で指定した過去の入力を行単位で返します。
引数 line_no で指定した過去の入力を行単位で返します。
@param line_no 取得する行番号を整数で指定します。 -
IRB
:: StdioInputMethod # readable _ atfer _ eof? -> true (18001.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
RSS
:: Maker :: TextinputBase # description (18001.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # description=() (18001.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # link (18001.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # link=() (18001.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # name (18001.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # name=() (18001.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # title (18001.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # title=() (18001.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: Textinput # resource (18001.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: Textinput # resource= (18001.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # about (18001.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # about= (18001.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # date (18001.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # date= (18001.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # description (18001.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # description= (18001.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # link (18001.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # link= (18001.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # name (18001.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # name= (18001.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # title (18001.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # title= (18001.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # description (18001.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # description= (18001.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # link (18001.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # link= (18001.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # name (18001.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # name= (18001.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # title (18001.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # title= (18001.0) -
@todo
@todo -
CSV
. filter(input , output , options = Hash . new) {|row| . . . } (997.0) -
このメソッドは CSV データに対して Unix のツール群のようなフィルタを構築 するのに便利です。
このメソッドは CSV データに対して Unix のツール群のようなフィルタを構築
するのに便利です。
与えられたブロックに一行ずつ渡されます。ブロックに渡された行は必要であ
れば変更することができます。ブロックの評価後に行を全て output に書き込
みます。
@param input String か IO のインスタンスを指定します。
デフォルトは ARGF です。
@param output String か IO のインスタンスを指定します。
デフォルトは $stdout です。
@param options ":in... -
IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context (922.0) -
自身を初期化します。
自身を初期化します。
@param irb IRB::Irb オブジェクトを指定します。
@param workspace IRB::WorkSpace オブジェクトを指定します。省略し
た場合は新しく作成されます。
@param input_method String、IRB::InputMethod のサブクラスの
オブジェクト、nil のいずれかを指定します。
@param output_method IRB::OutputMethod のサブクラスのオブジェクト
... -
CSV
. filter(input , options = Hash . new) {|row| . . . } (697.0) -
このメソッドは CSV データに対して Unix のツール群のようなフィルタを構築 するのに便利です。
このメソッドは CSV データに対して Unix のツール群のようなフィルタを構築
するのに便利です。
与えられたブロックに一行ずつ渡されます。ブロックに渡された行は必要であ
れば変更することができます。ブロックの評価後に行を全て output に書き込
みます。
@param input String か IO のインスタンスを指定します。
デフォルトは ARGF です。
@param output String か IO のインスタンスを指定します。
デフォルトは $stdout です。
@param options ":in...