949件ヒット
[1-100件を表示]
(0.095秒)
種類
ライブラリ
クラス
-
ARGF
. class (24) - Array (21)
- CSV (24)
-
CSV
:: Row (12) -
CSV
:: Table (12) -
Digest
:: Base (48) - Encoding (48)
-
Encoding
:: Converter (84) -
Gem
:: Dependency (12) -
Gem
:: Indexer (12) -
Gem
:: Version (12) - IO (48)
- Integer (24)
-
Net
:: FTP (24) -
Net
:: IMAP (24) - Pathname (12)
- Regexp (34)
- Ripper (12)
- String (134)
- Symbol (12)
- Thread (10)
- Time (42)
-
URI
:: FTP (24) -
WIN32OLE
_ VARIANT (12) -
Zlib
:: ZStream (12)
モジュール
-
JSON
:: Generator :: GeneratorMethods :: String (12) - Kconv (12)
- URI (12)
- Zlib (12)
キーワード
- << (12)
- <=> (48)
- BINARY (12)
- IO (12)
- ISASCII (12)
- Marshal フォーマット (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) - NKF (12)
- Ruby用語集 (12)
- String (12)
-
ascii
_ only? (12) -
asciicompat
_ encoding (24) - asctime (12)
- b (12)
- binary (12)
- binary= (12)
- binmode (12)
- binread (12)
- binwrite (12)
- build (24)
- chr (24)
- compile (11)
- concat (21)
- ctime (12)
-
data
_ type (12) -
default
_ external (12) - downcase (9)
-
encode
_ www _ form (12) - encoding (12)
-
fixed
_ encoding? (12) -
force
_ encoding (12) - generate (12)
- guess (12)
- hexdigest (24)
- hexdigest! (12)
- inspect (42)
-
internal
_ encoding (24) -
locale
_ charmap (12) - name= (10)
-
name
_ list (12) - new (100)
- pack (21)
- pack テンプレート文字列 (12)
- rdoc (12)
- replacement (12)
- replacement= (12)
- sanitize (12)
-
set
_ encoding (12) - sort (12)
-
to
_ json (12) -
to
_ s (24) -
uid
_ sort (12) - unpack (12)
- upcase! (3)
- リテラル (12)
- 正規表現 (12)
検索結果
先頭5件
-
rdoc (26018.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という
ドキュメント生成のためのコマンドも含んでいます。
このパッケージは RDoc と Markup というふたつのコンポーネントを含
んでいます。 RDoc とは Ruby......てきます(include,require もです)。そ
してこれらの内容とその直前に書かれたコメントを併合し、ドキュメントを出
力します(現在は HTML しか出力できませんが、この部分は取り替え可能にでき
ています)。Markup とはプレーンテ......iple
files are present, the first is used as the index.
<tt>--quiet:</tt>:: do not output the names, sizes, byte counts,
index areas, or bit ratios of units as
they are processed.
====[a:headline] 見出し
見出し部は ASCII 文字の等号... -
Zlib
:: ASCII -> Integer (18201.0) -
Zlib::ZStream#data_type の返す、データタイプを表す整数です。
...Zlib::ZStream#data_type の返す、データタイプを表す整数です。... -
Encoding
:: Converter . asciicompat _ encoding(string) -> Encoding | nil (9234.0) -
同じ文字集合を持つ ASCII 互換エンコーディングを返します。
...同じ文字集合を持つ ASCII 互換エンコーディングを返します。
@param string エンコーディング名
@param encoding エンコーディングオブジェクト
@return ASCII 互換エンコーディングのオブジェクトか nil
引数とエンコーディングと同......せん。
引数が ASCII 互換エンコーディングである場合や、エンコーディングでない場合は nil を返します。
//emlist[][ruby]{
Encoding::Converter.asciicompat_encoding("ISO-2022-JP") #=> #<Encoding:stateless-ISO-2022-JP>
Encoding::Converter.asciicompat_encoding("UT......F-16BE") #=> #<Encoding:UTF-8>
Encoding::Converter.asciicompat_encoding("UTF-8") #=> nil
//}... -
String
# ascii _ only? -> bool (9141.0) -
文字列がASCII文字のみで構成されている場合に true を返します。さもなくば false を返します。
...文字列がASCII文字のみで構成されている場合に true を返します。さもなくば
false を返します。
例:
'abc123'.ascii_only? # => true
''.ascii_only? # => true
'日本語'.ascii_only? # => false
'日本語abc123'.ascii_only? # => fal... -
Encoding
:: Converter . asciicompat _ encoding(encoding) -> Encoding | nil (9134.0) -
同じ文字集合を持つ ASCII 互換エンコーディングを返します。
...同じ文字集合を持つ ASCII 互換エンコーディングを返します。
@param string エンコーディング名
@param encoding エンコーディングオブジェクト
@return ASCII 互換エンコーディングのオブジェクトか nil
引数とエンコーディングと同......せん。
引数が ASCII 互換エンコーディングである場合や、エンコーディングでない場合は nil を返します。
//emlist[][ruby]{
Encoding::Converter.asciicompat_encoding("ISO-2022-JP") #=> #<Encoding:stateless-ISO-2022-JP>
Encoding::Converter.asciicompat_encoding("UT......F-16BE") #=> #<Encoding:UTF-8>
Encoding::Converter.asciicompat_encoding("UTF-8") #=> nil
//}... -
Net
:: IMAP # sort(sort _ keys , search _ keys , charset) -> [Integer] (6212.0) -
SORT コマンド送り、メールボックス内の メッセージをソートした結果を返します。
...SORT コマンド送り、メールボックス内の
メッセージをソートした結果を返します。
SORT コマンドは 5256 で定義されています。
詳しくはそちらを参照してください。
このコマンドは Net::IMAP#capability の返り値を見ることで
利......sort_keys にはソート順を決めるキーを文字列の配列で指定します。
"ARRIVAL", "CC", "FROM", "TO", "SUBJECT" などが指定できます。
詳しくは 5265 の BASE.6.4.SORT の所を見てください。
search_key には検索条件を渡します。Net::IMAP#search と......er の配列を返します。
例:
p imap.sort(["FROM"], ["ALL"], "US-ASCII")
#=> [1, 2, 3, 5, 6, 7, 8, 4, 9]
p imap.sort(["DATE"], ["SUBJECT", "hello"], "US-ASCII")
#=> [6, 7, 8, 1]
@param sort_key ソート順のキー(文字列配列)
@param search_key 検索条件(文字列配列)
@par... -
Net
:: IMAP # uid _ sort(sort _ keys , search _ keys , charset) -> [Integer] (6212.0) -
SORT コマンド送り、メールボックス内の メッセージをソートした結果を返します。
...SORT コマンド送り、メールボックス内の
メッセージをソートした結果を返します。
SORT コマンドは 5256 で定義されています。
詳しくはそちらを参照してください。
このコマンドは Net::IMAP#capability の返り値を見ることで
利......sort_keys にはソート順を決めるキーを文字列の配列で指定します。
"ARRIVAL", "CC", "FROM", "TO", "SUBJECT" などが指定できます。
詳しくは 5265 の BASE.6.4.SORT の所を見てください。
search_key には検索条件を渡します。Net::IMAP#search と......er の配列を返します。
例:
p imap.sort(["FROM"], ["ALL"], "US-ASCII")
#=> [1, 2, 3, 5, 6, 7, 8, 4, 9]
p imap.sort(["DATE"], ["SUBJECT", "hello"], "US-ASCII")
#=> [6, 7, 8, 1]
@param sort_key ソート順のキー(文字列配列)
@param search_key 検索条件(文字列配列)
@par... -
IO
. binwrite(path , string , offset=nil) -> Integer (6206.0) -
path で指定されるファイルを開き、string を書き込み、 閉じます。
...path で指定されるファイルを開き、string を書き込み、
閉じます。
ファイルを開くときの mode が "rb:ASCII-8BIT" で、バイナリモードが有効
である点以外は IO.write と同じです。
Kernel.#open と同様 path の先頭が "|" ならば、"|" に......@param path ファイル名文字列
@param string 書き込む文字列
@param offset 書き込み開始位置
//emlist[例][ruby]{
# 8x8の真っ白なPNG画像データ。
png = 'iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAAAAADhZOFXAAAADklEQVQIW2P4DwUMlDEA98A/wTjP
QBoAAAAASUVORK5CYII='.unpack('m').first......d 49 48 44 52
# binwriteを使用した場合: どの環境でも正しく保存できる。
IO.binwrite('white.binmode.png', png)
puts IO.binread('white.binmode.png', 16).unpack('C*').map {|c| '%02x' % c }.join(' ')
# => 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52
# binwriteを使用しなか... -
int ISASCII(char c) (6200.0)
-