種類
ライブラリ
- English (5)
- ビルトイン (9)
-
cgi
/ html (22) - csv (4)
- etc (21)
-
irb
/ context (3) -
irb
/ input-method (23) - logger (2)
- nkf (1)
-
rdoc
/ markup (3) - readline (2)
-
rexml
/ document (1) - rss (45)
-
rubygems
/ package / tar _ input (9) -
rubygems
/ requirement (1) -
rubygems
/ specification (2) -
rubygems
/ version (2) - win32ole (2)
- zlib (2)
クラス
- CSV (4)
-
Encoding
:: Converter (5) -
Encoding
:: InvalidByteSequenceError (1) -
Gem
:: Package :: TarInput (8) -
Gem
:: Requirement (1) -
Gem
:: Specification (2) -
Gem
:: Version (2) -
IRB
:: Context (3) -
IRB
:: FileInputMethod (3) -
IRB
:: InputMethod (4) -
IRB
:: ReadlineInputMethod (6) -
IRB
:: StdioInputMethod (6) - Logger (2)
-
RDoc
:: Markup (3) -
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) -
WIN32OLE
_ PARAM (2) -
Zlib
:: GzipFile :: Error (1)
モジュール
-
CGI
:: HtmlExtension (22) - Etc (21)
- Kernel (8)
- Readline (2)
キーワード
-
$ DEFAULT _ INPUT (1) -
$ INPUT _ LINE _ NUMBER (1) -
$ INPUT _ RECORD _ SEPARATOR (1) -
$ NR (1) -
$ RS (1) - FileInputMethod (1)
- InputMethod (1)
-
NEWS for Ruby 3
. 0 . 0 (1) - NKF (1)
-
PC
_ 2 _ SYMLINKS (1) -
PC
_ ALLOC _ SIZE _ MIN (1) -
PC
_ ASYNC _ IO (1) -
PC
_ CHOWN _ RESTRICTED (1) -
PC
_ FILESIZEBITS (1) -
PC
_ LINK _ MAX (1) -
PC
_ MAX _ CANON (1) -
PC
_ MAX _ INPUT (1) -
PC
_ NAME _ MAX (1) -
PC
_ NO _ TRUNC (1) -
PC
_ PATH _ MAX (1) -
PC
_ PIPE _ BUF (1) -
PC
_ PRIO _ IO (1) -
PC
_ REC _ INCR _ XFER _ SIZE (1) -
PC
_ REC _ MAX _ XFER _ SIZE (1) -
PC
_ REC _ MIN _ XFER _ SIZE (1) -
PC
_ REC _ XFER _ ALIGN (1) -
PC
_ SYMLINK _ MAX (1) -
PC
_ SYNC _ IO (1) -
PC
_ TIMESTAMP _ RESOLUTION (1) -
PC
_ VDISABLE (1) - ReadlineInputMethod (1)
- StdioInputMethod (1)
- TarInput (1)
- TextInput (1)
- Textinput (5)
- TextinputBase (1)
- ZStream (1)
- about (1)
- about= (1)
-
add
_ html (1) -
add
_ special (1) -
add
_ word _ pair (1) -
cgi
/ session (1) - checkbox (2)
-
checkbox
_ group (2) - close (1)
- create (2)
- date (1)
- date= (1)
- debug (2)
- description (3)
- description= (3)
- each (1)
- encoding (3)
- eof? (2)
-
extract
_ entry (1) -
file
_ field (2) -
file
_ input? (1) -
file
_ name (1) - filter (3)
-
from
_ yaml (1) - gets (4)
- hidden (2)
-
incomplete
_ input? (1) - input= (1)
- input? (1)
- io (1)
-
irb
/ input-method (1) -
lex
_ getline (1) - line (2)
- link (3)
- link= (3)
-
load
_ gemspec (1) - loop (2)
- name (3)
- name= (3)
- new (8)
- normalize (1)
-
normalize
_ yaml _ input (1) - open (1)
- output? (1)
-
password
_ field (2) -
primitive
_ convert (4) -
primitive
_ errinfo (1) - print (1)
-
radio
_ group (2) -
readable
_ atfer _ eof? (3) - readline (1)
- reset (2)
- resource (1)
- resource= (1)
-
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 4 feature (1) -
rubygems
/ package / tar _ input (1) -
rubygems
/ security (1) - submit (2)
- textInput (1)
- textInput= (1)
-
text
_ field (2) - textinput (4)
- textinput= (2)
- title (3)
- title= (3)
-
zipped
_ stream (1)
検索結果
先頭5件
-
Zlib
:: GzipFile :: Error # input -> String | nil (63304.0) -
読み込んだ文字列(gzip 形式で圧縮されたもの)を返します。
読み込んだ文字列(gzip 形式で圧縮されたもの)を返します。 -
Encoding
:: InvalidByteSequenceError # incomplete _ input? -> bool (45640.0) -
エラー発生時に入力文字列が不足している場合に真を返します。
エラー発生時に入力文字列が不足している場合に真を返します。
つまり、マルチバイト文字列の途中で文字列が終わっている場合に
真を返します。これは後続の入力を追加することでエラーが
解消する可能性があることを意味します。
//emlist[例][ruby]{
ec = Encoding::Converter.new("EUC-JP", "ISO-8859-1")
begin
ec.convert("abc\xA1z")
rescue Encoding::InvalidByteSequenceError
p $!
#=> #<Encoding::InvalidByteSequenc... -
Kernel
$ $ INPUT _ LINE _ NUMBER -> Integer (45640.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 -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (36925.0) -
YAML 形式の gemspec を正しくフォーマットします。
YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。 -
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 _ 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) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (36601.0) -
YAML 形式の gemspec を io から読み込みます。
YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml -
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 -
IRB
:: InputMethod # gets (36301.0) -
NotImplementedError が発生します。
NotImplementedError が発生します。
@raise NotImplementedError 必ず発生します。 -
IRB
:: ReadlineInputMethod # readable _ atfer _ eof? -> false (36301.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
IRB
:: StdioInputMethod # gets -> String (36301.0) -
標準入力から文字列を 1 行読み込みます。
標準入力から文字列を 1 行読み込みます。 -
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 のラッ
パークラスを提供するライブラリです。 -
Readline
. input=(input) (27721.0) -
readline メソッドで使用する入力用の File オブジェクト input を指定します。 戻り値は指定した File オブジェクト input です。
readline メソッドで使用する入力用の File オブジェクト input を指定します。
戻り値は指定した File オブジェクト input です。
@param input File オブジェクトを指定します。 -
REXML
:: Text . normalize(input , doctype = nil , entity _ filter = nil) -> String (27670.0) -
input を正規化(すべての entity をエスケープ)したものを 返します。
input を正規化(すべての entity をエスケープ)したものを
返します。
@param input 正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@param entity_filter 置換したい実体の名前の配列 -
Gem
:: Requirement . create(input) -> Gem :: Requirement (27640.0) -
Gem::Requirement のインスタンスを作成するためのファクトリメソッドです。
Gem::Requirement のインスタンスを作成するためのファクトリメソッドです。
@param input 文字列か配列か Gem::Requirement, Gem::Version のインスタンス
のいずれかを指定します。
@return 上記以外の値を input に指定するとデフォルト値を返します。
//emlist[][ruby]{
pp Gem::Requirement.create("~> 3.2.1")
# => Gem::Requirement.new(["~> 3.2.1"])
//}
@see Gem::Requirement.... -
Etc
:: PC _ TIMESTAMP _ RESOLUTION -> Integer (27604.0) -
IO#pathconf の引数に指定します。
IO#pathconf の引数に指定します。
詳細は fpathconf(3) を参照してください。 -
Gem
:: Package :: TarInput # extract _ entry(destdir , entry , expected _ md5sum = nil) (27601.0) -
指定された destdir に entry を展開します。
指定された destdir に entry を展開します。
@param destdir 展開先のディレクトリを指定します。
@param entry エントリを指定します。
@param expected_md5sum 期待する MD5 チェックサムを指定します。
@raise Gem::Package::BadCheckSum チェックサムが一致しなかった場合に発生します。 -
IRB
:: FileInputMethod # encoding -> Encoding (27601.0) -
読み込んだファイルの文字エンコーディングを返します。
読み込んだファイルの文字エンコーディングを返します。 -
IRB
:: FileInputMethod . new(path) -> IRB :: FileInputMethod (27601.0) -
自身を初期化します。
自身を初期化します。
@param path パスを文字列で指定します。 -
IRB
:: InputMethod . new(file = STDIN _ FILE _ NAME) -> IRB :: InputMethod (27601.0) -
自身を初期化します。
自身を初期化します。 -
IRB
:: ReadlineInputMethod # encoding -> Encoding (27601.0) -
自身の文字エンコーディングを返します。
自身の文字エンコーディングを返します。 -
IRB
:: ReadlineInputMethod . new -> IRB :: ReadlineInputMethod (27601.0) -
自身を初期化します。
自身を初期化します。 -
IRB
:: StdioInputMethod # encoding -> Encoding (27601.0) -
自身の文字エンコーディングを返します。
自身の文字エンコーディングを返します。 -
IRB
:: StdioInputMethod . new -> IRB :: StdioInputMethod (27601.0) -
自身を初期化します。
自身を初期化します。 -
Readline
. # readline(prompt = "" , add _ hist = false) -> String | nil (27445.0) -
prompt を出力し、ユーザからのキー入力を待ちます。 エンターキーの押下などでユーザが文字列を入力し終えると、 入力した文字列を返します。 このとき、add_hist が true であれば、入力した文字列を入力履歴に追加します。 何も入力していない状態で EOF(UNIX では ^D) を入力するなどで、 ユーザからの入力がない場合は nil を返します。
prompt を出力し、ユーザからのキー入力を待ちます。
エンターキーの押下などでユーザが文字列を入力し終えると、
入力した文字列を返します。
このとき、add_hist が true であれば、入力した文字列を入力履歴に追加します。
何も入力していない状態で EOF(UNIX では ^D) を入力するなどで、
ユーザからの入力がない場合は nil を返します。
本メソッドはスレッドに対応しています。
入力待ち状態のときはスレッドコンテキストの切替えが発生します。
入力時には行内編集が可能で、vi モードと Emacs モードが用意されています。
デフォルトは Emacs モードです。
... -
CGI
:: HtmlExtension # text _ field(name = "" , value = nil , size = 40 , maxlength = nil) -> String (27427.0) -
タイプが text である input 要素を生成します。
タイプが text である input 要素を生成します。
@param name name 属性の値を指定します。
@param value 属性の値を指定します。
@param size size 属性の値を指定します。
@param maxlength maxlength 属性の値を指定します。
例:
text_field("name")
# <INPUT TYPE="text" NAME="name" SIZE="40">
text_field("name", "value")
# <INPUT TYPE="text" NAME="name" V... -
CGI
:: HtmlExtension # text _ field(attributes) -> String (27382.0) -
タイプが text である input 要素を生成します。
タイプが text である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
text_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="text" NAME="name" VALUE="value"> -
WIN32OLE
_ PARAM # input? -> bool (27358.0) -
パラメータがクライアントからサーバへ与えるものかを判定します。
パラメータがクライアントからサーバへ与えるものかを判定します。
OLEオートメーションのパラメータは、in(クライアントからサーバへ与える。
WIN32OLE_PARAM#input?が真)、out(サーバがクライアントへ与える。
WIN32OLE_PARAM#output?が真)および、inout(クライアントからサーバ
へ与え、サーバがクライアントへ与える)の3種類の方向属性のいずれかを持ち
ます。
input?メソッドはin属性またはinout属性なら真を返します。
@return メソッドの方向属性がinまたはinoutならば真を返します。
tobj = WIN32OLE... -
Kernel
$ $ NR -> Integer (27340.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 -
Gem
:: Package :: TarInput # close (27301.0) -
自身と自身に関連付けられた IO を close します。
自身と自身に関連付けられた IO を close します。 -
Gem
:: Package :: TarInput # each {|entry| . . . } (27301.0) -
data.tar.gz の各エントリをブロックに渡してブロックを評価します。
data.tar.gz の各エントリをブロックに渡してブロックを評価します。
@see Gem::Package::TarReader#each -
Gem
:: Package :: TarInput # metadata -> Gem :: Specification (27301.0) -
メタデータを返します。
メタデータを返します。 -
Gem
:: Package :: TarInput # zipped _ stream(entry) -> StringIO (27301.0) -
与えられた entry の圧縮したままの StringIO を返します。
与えられた entry の圧縮したままの StringIO を返します。
@param entry エントリを指定します。 -
Gem
:: Package :: TarInput . new(io , security _ policy = nil) (27301.0) -
@todo ??? このクラスを初期化します。
@todo ???
このクラスを初期化します。
@param io 自身に関連付ける IO を指定します。
@param security_policy ??? -
Gem
:: Package :: TarInput . open(io , security _ policy = nil) {|is| . . . } (27301.0) -
@todo ??? ブロックに Gem::Package::TarInput のインスタンスを与えて評価します。
@todo ???
ブロックに Gem::Package::TarInput のインスタンスを与えて評価します。
@param io 自身に関連付ける IO を指定します。
@param security_policy ??? -
IRB
:: FileInputMethod # gets -> String (27301.0) -
読み込んだファイルから文字列を 1 行読み込みます。
読み込んだファイルから文字列を 1 行読み込みます。 -
IRB
:: InputMethod # file _ name -> String (27301.0) -
ファイル名を文字列で返します。
ファイル名を文字列で返します。 -
IRB
:: InputMethod # readable _ atfer _ eof? -> false (27301.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
IRB
:: ReadlineInputMethod # eof? -> bool (27301.0) -
入力が EOF(End Of File)に達したかどうかを返します。
入力が EOF(End Of File)に達したかどうかを返します。 -
IRB
:: ReadlineInputMethod # gets -> String (27301.0) -
標準入力から文字列を 1 行読み込みます。
標準入力から文字列を 1 行読み込みます。 -
IRB
:: ReadlineInputMethod # line(line _ no) -> String (27301.0) -
引数 line_no で指定した過去の入力を行単位で返します。
引数 line_no で指定した過去の入力を行単位で返します。
@param line_no 取得する行番号を整数で指定します。 -
IRB
:: StdioInputMethod # eof? -> bool (27301.0) -
入力が EOF(End Of File)に達したかどうかを返します。
入力が EOF(End Of File)に達したかどうかを返します。 -
IRB
:: StdioInputMethod # line(line _ no) -> String (27301.0) -
引数 line_no で指定した過去の入力を行単位で返します。
引数 line_no で指定した過去の入力を行単位で返します。
@param line_no 取得する行番号を整数で指定します。 -
IRB
:: StdioInputMethod # readable _ atfer _ eof? -> true (27301.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
RSS
:: Maker :: TextinputBase # description (27301.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # description=() (27301.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # name (27301.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # name=() (27301.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # title (27301.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # title=() (27301.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: Textinput # resource (27301.0) -
@todo
@todo -
RSS
:: RDF :: Channel :: Textinput # resource= (27301.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # date (27301.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # date= (27301.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # description (27301.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # description= (27301.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # name (27301.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # name= (27301.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # title (27301.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # title= (27301.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # description (27301.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # description= (27301.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # name (27301.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # name= (27301.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # title (27301.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # title= (27301.0) -
@todo
@todo -
Gem
:: Package :: TarInput (27001.0) -
gem-format な tar ファイルを読み込む Gem::Package::TarReader のラッ パークラスです。
gem-format な tar ファイルを読み込む Gem::Package::TarReader のラッ
パークラスです。 -
CSV
. filter(input , options = Hash . new) {|row| . . . } (18697.0) -
このメソッドは CSV データに対して Unix のツール群のようなフィルタを構築 するのに便利です。
このメソッドは CSV データに対して Unix のツール群のようなフィルタを構築
するのに便利です。
与えられたブロックに一行ずつ渡されます。ブロックに渡された行は必要であ
れば変更することができます。ブロックの評価後に行を全て output に書き込
みます。
@param input String か IO のインスタンスを指定します。
デフォルトは ARGF です。
@param output String か IO のインスタンスを指定します。
デフォルトは $stdout です。
@param options ":in... -
CSV
. filter(input , output , options = Hash . new) {|row| . . . } (18697.0) -
このメソッドは CSV データに対して Unix のツール群のようなフィルタを構築 するのに便利です。
このメソッドは CSV データに対して Unix のツール群のようなフィルタを構築
するのに便利です。
与えられたブロックに一行ずつ渡されます。ブロックに渡された行は必要であ
れば変更することができます。ブロックの評価後に行を全て output に書き込
みます。
@param input String か IO のインスタンスを指定します。
デフォルトは ARGF です。
@param output String か IO のインスタンスを指定します。
デフォルトは $stdout です。
@param options ":in... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer) -> Symbol (18691.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset) -> Symbol (18691.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize) -> Symbol (18691.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize , options) -> Symbol (18691.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
CGI
:: HtmlExtension # reset(attributes) -> String (18676.0) -
タイプが reset である input 要素を生成します。
タイプが reset である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
reset({ "VALUE" => "reset", "ID" => "foo" })
# <INPUT TYPE="reset" VALUE="reset" ID="foo"> -
CGI
:: HtmlExtension # checkbox(name = "" , value = nil , checked = nil) -> String (18673.0) -
タイプが checkbox である input 要素を生成します。
タイプが checkbox である input 要素を生成します。
@param name name 属性の値を指定します。
@param value value 属性の値を指定します。
@param checked checked 属性の値を指定します。
例:
checkbox("name", "value", true)
# => "<INPUT CHECKED NAME=\"name\" TYPE=\"checkbox\" VALUE=\"value\">" -
Gem
:: Version . create(input) -> Gem :: Version | nil (18640.0) -
Gem::Version のインスタンスを作成するためのファクトリメソッドです。
Gem::Version のインスタンスを作成するためのファクトリメソッドです。
//emlist[][ruby]{
ver1 = Gem::Version.create('1.3.17') # => #<Gem::Version "1.3.17">
ver2 = Gem::Version.create(ver1) # => #<Gem::Version "1.3.17">
ver3 = Gem::Version.create(nil) # => nil
//}
@param input Gem::Version のインスタンスか文字列を指定します。
@r... -
IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context (18622.0) -
自身を初期化します。
自身を初期化します。
@param irb IRB::Irb オブジェクトを指定します。
@param workspace IRB::WorkSpace オブジェクトを指定します。省略し
た場合は新しく作成されます。
@param input_method String、IRB::InputMethod のサブクラスの
オブジェクト、nil のいずれかを指定します。
@param output_method IRB::OutputMethod のサブクラスのオブジェクト
... -
CSV
. new(data , options = Hash . new) -> CSV (18619.0) -
このメソッドは CSV ファイルを読み込んだり、書き出したりするために String か IO のインスタンスをラップします。
このメソッドは CSV ファイルを読み込んだり、書き出したりするために
String か IO のインスタンスをラップします。
ラップされた文字列の先頭から読み込むことになります。
文字列に追記したい場合は CSV.generate を使用してください。
他の位置から処理したい場合はあらかじめそのように設定した StringIO を渡してください。
@param data String か IO のインスタンスを指定します。
String のインスタンスを指定した場合、CSV#string を使用して
後からデータを取り出すことが出来ます。... -
Etc
:: PC _ MAX _ INPUT -> Integer (18604.0) -
IO#pathconf の引数に指定します。
IO#pathconf の引数に指定します。
詳細は fpathconf(3) を参照してください。 -
CGI
:: HtmlExtension # checkbox _ group(name = "" , *values) -> String (18556.0) -
タイプが checkbox である input 要素のグループを生成します。
タイプが checkbox である input 要素のグループを生成します。
生成される input 要素の name 属性はすべて同じになり、
それぞれの input 要素の後ろにはラベルが続きます。
@param name name 属性の値を指定します。
@param values value 属性のリストを指定します。
それぞれの引数が、単純な文字列の場合、value 属性の値とラベルに同じものが使用されます。
それぞれの引数が、二要素または三要素の配列の場合、最終要素が true であれば、
...