ライブラリ
- ビルトイン (4)
-
cgi
/ core (1) -
cgi
/ html (2) -
irb
/ cmd / nop (1) -
irb
/ context (19) -
irb
/ ext / math-mode (2) -
irb
/ ext / use-loader (3) -
irb
/ extend-command (1) -
net
/ http (3) -
net
/ imap (20) -
net
/ smtp (4) - openssl (18)
- prettyprint (2)
-
rdoc
/ code _ object (1) -
rdoc
/ context (49) -
rdoc
/ markup (1) -
rdoc
/ text (8) -
rexml
/ document (6) -
rexml
/ streamlistener (1) - rss (22)
-
webrick
/ httputils (1) - win32ole (1)
クラス
- CGI (1)
-
IRB
:: Context (24) -
IRB
:: ExtendCommand :: Nop (1) -
Net
:: IMAP :: BodyTypeMessage (1) -
Net
:: IMAP :: BodyTypeMultipart (1) -
Net
:: IMAP :: BodyTypeText (14) -
Net
:: IMAP :: ContinuationRequest (1) -
Net
:: IMAP :: FetchData (1) -
Net
:: IMAP :: ResponseText (1) -
Net
:: IMAP :: TaggedResponse (1) -
Net
:: SMTP (4) -
OpenSSL
:: PKCS7 (2) -
OpenSSL
:: PKey :: DH (1) -
OpenSSL
:: PKey :: DSA (1) -
OpenSSL
:: SSL :: SSLContext (13) -
OpenSSL
:: X509 :: StoreContext (1) - PrettyPrint (2)
-
RDoc
:: CodeObject (1) -
RDoc
:: Context (42) -
RDoc
:: Context :: Section (7) -
RDoc
:: Markup (1) -
REXML
:: CData (2) -
REXML
:: DocType (1) -
REXML
:: Element (1) -
REXML
:: Text (2) -
RSS
:: Maker :: TextinputBase (2) -
RSS
:: RDF (2) -
RSS
:: RDF :: Channel (2) -
RSS
:: RDF :: Channel :: Textinput (2) -
RSS
:: RDF :: Textinput (12) -
RSS
:: Rss :: Channel :: TextInput (2) - String (4)
-
WEBrick
:: HTTPUtils :: FormData (1) -
WIN32OLE
_ METHOD (1)
モジュール
-
CGI
:: HtmlExtension (2) -
IRB
:: ExtendCommandBundle (1) -
Net
:: HTTPHeader (3) -
RDoc
:: Text (8) -
REXML
:: StreamListener (1)
キーワード
- <=> (1)
- == (1)
- [] (1)
- about (1)
- about= (1)
-
add
_ alias (1) -
add
_ attribute (1) -
add
_ class (1) -
add
_ class _ or _ module (1) -
add
_ constant (1) -
add
_ include (1) -
add
_ method (1) -
add
_ module (1) -
add
_ require (1) -
add
_ special (1) -
add
_ to (1) - aliases (1)
- attr (1)
- attributes (1)
-
auto
_ indent _ mode (1) -
auto
_ indent _ mode= (1) - body (1)
- classes (1)
- code (1)
- comment (1)
- constants (1)
-
content
_ id (1) -
content
_ type (1) - context (1)
-
current
_ section (1) - data (2)
- date (1)
- date= (1)
- debug? (1)
-
debug
_ level (1) -
debug
_ level= (1) - decrypt (1)
-
defined
_ in? (1) - description (4)
- description= (3)
- disposition (1)
- doctype (1)
-
each
_ attribute (1) -
each
_ classmodule (1) -
each
_ constant (1) -
each
_ element _ with _ text (1) -
each
_ method (1) -
enable
_ ssl (1) -
enable
_ starttls (1) -
enable
_ starttls _ auto (1) -
enable
_ tls (1) - encode (3)
- encoding (1)
- entitydecl (1)
-
error
_ depth (1) - extension (1)
-
find
_ enclosing _ module _ named (1) -
find
_ local _ symbol (1) -
find
_ module _ named (1) -
find
_ symbol (1) -
flush
_ left (1) - group (1)
- header (1)
- helpcontext (1)
-
ignore
_ eof (1) -
ignore
_ eof= (1) -
ignore
_ eof? (1) -
in
_ files (1) - includes (1)
-
initialize
_ classes _ and _ modules (1) -
initialize
_ methods _ etc (1) - inspect (1)
-
inspect
_ mode (1) -
inspect
_ mode= (1) - io (1)
-
irb
_ context (2) - language (1)
- lines (1)
- link (1)
- link= (1)
-
load
_ modules (1) -
main
_ type (1) - markup (1)
-
math
_ mode (1) -
math
_ mode= (1) - md5 (1)
-
media
_ subtype (1) -
media
_ type (1) -
method
_ list (1) - modules (1)
- multipart? (1)
- name (2)
- name= (1)
-
node
_ type (1) -
normalize
_ comment (1) -
ongoing
_ visibility= (1) - param (1)
- parent (1)
- parse (1)
- parts (1)
-
prompt
_ mode (1) -
prompt
_ mode= (1) -
record
_ location (1) - requires (1)
- resource (1)
- resource= (1)
-
return
_ format (1) -
return
_ format= (1) - section (1)
- sections (1)
- sequence (1)
-
session
_ add (1) -
session
_ cache _ mode (1) -
session
_ cache _ mode= (1) -
session
_ id _ context (1) -
session
_ id _ context= (1) -
set
_ comment (1) -
set
_ current _ section (1) -
set
_ visibility _ for (1) - size (1)
-
ssl
_ timeout= (1) -
strip
_ hashes (1) -
strip
_ newlines (1) -
strip
_ stars (1) -
sub
_ type (1) - subtype (1)
-
text
_ field (2) - textinput (2)
- textinput= (2)
- thread (1)
- timeout= (1)
- title (2)
- title= (1)
-
tmp
_ dh _ callback (1) -
tmp
_ dh _ callback= (1) -
to
_ s (1) -
to
_ text (2) - toplevel (1)
-
unicode
_ normalize! (1) -
unmatched
_ alias _ lists (1) -
unmatched
_ alias _ lists= (1) -
use
_ loader (1) -
use
_ loader= (1) -
use
_ loader? (1) -
use
_ readline (1) -
use
_ readline? (1) - value (1)
- verify (1)
-
verify
_ depth (1) -
verify
_ depth= (1) -
verify
_ mode (1) -
verify
_ mode= (1) - visibility (1)
検索結果
先頭5件
-
PrettyPrint
# text(obj , width = obj . length) -> () (54610.0) -
obj を width カラムのテキストとして自身に追加します。
obj を width カラムのテキストとして自身に追加します。
@param obj 自身に追加するテキストを文字列で指定します。
@param width obj のカラムを指定します。指定されなかった場合、obj.length が利用されます。 -
OpenSSL
:: SSL :: SSLContext # session _ id _ context=(id _ context) (46204.0) -
セッション ID コンテキストを文字列で設定します。
セッション ID コンテキストを文字列で設定します。
セッション ID コンテキストは、セッションをグループ化するための
識別子で、セッション ID コンテキストとセッション ID の両方が
一致する場合に同一のセッションであると判別されます。
この OpenSSL::SSL::SSLContext オブジェクトで
生成されたコネクション(OpenSSL::SSL::SSLSocket)に
関連付けられたセッションはセッション ID コンテキスト
を共有します。
セッション ID コンテキストはセッションのグループを
識別するための識別子であり、一方セッション ID は各セッションを
識別... -
IRB
:: Context # auto _ indent _ mode -> bool (45604.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
デフォルト値は false です。
@return 自動で字下げを行う場合は true を返します。行わない場合は false
を返します。
@see IRB::Context#auto_indent_mode= -
IRB
:: Context # auto _ indent _ mode=(val) (45604.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを val に設定します。
入力が次の行に継続した時に自動で字下げを行うかどうかを val に設定します。
@param val true を指定した場合、自動で字下げを行います。false を指定し
た場合は自動で字下げを行いません。
IRB::Context#prompt_mode の変更に影響を受ける事に注意してください。
@see IRB::Context#auto_indent_mode -
OpenSSL
:: SSL :: SSLContext # session _ id _ context -> String | nil (45604.0) -
セッション ID コンテキスト文字列を返します。
セッション ID コンテキスト文字列を返します。
設定されていない場合は nil を返します。
@see OpenSSL::SSL::Session,
OpenSSL::SSL::SSLContext#session_id_context= -
CGI
:: HtmlExtension # text _ field(name = "" , value = nil , size = 40 , maxlength = nil) -> String (36811.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 (36721.0) -
タイプが text である input 要素を生成します。
タイプが text である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
text_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="text" NAME="name" VALUE="value"> -
Net
:: IMAP :: BodyTypeMessage # body -> Net :: IMAP :: BodyTypeBasic | Net :: IMAP :: BodyTypeMessage | Net :: IMAP :: BodyTypeText | Net :: IMAP :: BodyTypeMultipart (28804.0) -
ボディを返します。
ボディを返します。 -
RDoc
:: Text # expand _ tabs(text) -> String (27625.0) -
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな るように置き換えます。
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな
るように置き換えます。
@param text 文字列を指定します。 -
IRB
:: Context # prompt _ mode=(mode) (27604.0) -
プロンプトモードを mode に設定します。
プロンプトモードを mode に設定します。
@param mode プロンプトモードを Symbol で指定します。オリジナルの
プロンプトモードか、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、
:XMP、:NULL のいずれを指定してください。
@see IRB::Context#prompt_mode, lib:irb#customize_prompt -
IRB
:: Context # thread -> Thread (27604.0) -
現在のスレッドを返します。
現在のスレッドを返します。
@see Thread.current -
IRB
:: ExtendCommand :: Nop # irb _ context -> IRB :: Context (27604.0) -
irb の現在の設定(IRB::Context)を返します。
irb の現在の設定(IRB::Context)を返します。 -
IRB
:: ExtendCommandBundle # irb _ context -> IRB :: Context (27604.0) -
現在の irb に関する IRB::Context を返します。
現在の irb に関する IRB::Context を返します。 -
Net
:: IMAP :: BodyTypeText # disposition -> Net :: IMAP :: ContentDisposition | nil (27604.0) -
Content-Dispotition の値を返します。
Content-Dispotition の値を返します。
Net::IMAP::ContentDisposition オブジェクトを返します。
@see 1806, 2183 -
Net
:: IMAP :: ResponseText # code -> Net :: IMAP :: ResponseCode | nil (27604.0) -
レスポンスコードを返します。
レスポンスコードを返します。
応答がレスポンスコードを含んでいない場合は nil を返します。
@see Net::IMAP::ResponseCode -
OpenSSL
:: SSL :: SSLContext # session _ cache _ mode=(mode) (27604.0) -
セッションキャッシュのモードを指定します。
セッションキャッシュのモードを指定します。
以下の定数のORを引数として渡します。
* OpenSSL::SSL::SSLContext::SESSION_CACHE_OFF
* OpenSSL::SSL::SSLContext::SESSION_CACHE_CLIENT
* OpenSSL::SSL::SSLContext::SESSION_CACHE_SERVER
* OpenSSL::SSL::SSLContext::SESSION_CACHE_BOTH
* OpenSSL::SSL::SSLContext::SESSION_CACHE_NO_AUTO_CLEAR
... -
OpenSSL
:: SSL :: SSLContext # verify _ depth=(depth) (27604.0) -
証明書チェイン上の検証する最大の深さを設定します。
証明書チェイン上の検証する最大の深さを設定します。
デフォルトは nil で、この場合 OpenSSL のデフォルト値(9)が使われます。
@param depth 最大深さを表す整数
@see OpenSSL::SSL::SSLContext#verify_depth -
OpenSSL
:: SSL :: SSLContext # verify _ mode=(mode) (27604.0) -
検証モードを設定します。
検証モードを設定します。
以下の定数の OR を取って指定します。
* OpenSSL::SSL::VERIFY_NONE
* OpenSSL::SSL::VERIFY_PEER
* OpenSSL::SSL::VERIFY_CLIENT_ONCE
* OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT
これらの定数の意味はクライアントモードとサーバモードでは異なる
意味を持ちます。
デフォルトは nil で、VERIFY_NONE を意味します。
@param mode 設定するモード(整数値)
@see OpenSSL::SSL::SS... -
RDoc
:: Context # each _ classmodule {|m| . . . } -> [RDoc :: SingleClass | RDoc :: NormalClass | RDoc :: NormalModule] (27604.0) -
追加されたクラス、モジュールに対してブロックを評価します。
追加されたクラス、モジュールに対してブロックを評価します。
@see RDoc::Context#classes, RDoc::Context#modules -
RDoc
:: Context # includes -> [RDoc :: Include] (27604.0) -
追加された RDoc::Include の配列を返します。
追加された RDoc::Include の配列を返します。 -
RDoc
:: Context # modules -> [RDoc :: NormalModule] (27604.0) -
追加された RDoc::NormalModule の配列を返します。
追加された RDoc::NormalModule の配列を返します。 -
REXML
:: Text # doctype -> REXML :: DocType | nil (27604.0) -
テキストノードが属する文書の DTD を返します。
テキストノードが属する文書の DTD を返します。
そのような文書(REXML::Document)が存在しない、すなわち
テキストノードの親ノードを辿っても REXML::Document に到達しない、
場合には nil を返します。
@see REXML::DocType -
REXML
:: Text # node _ type -> Symbol (27352.0) -
Symbol :text を返します。
Symbol :text を返します。 -
Net
:: IMAP :: BodyTypeText # media _ type -> String (27322.0) -
MIME のメディアタイプを返します。
MIME のメディアタイプを返します。
これは "TEXT" を返します。
@see Net::IMAP::BodyTypeText#subtype -
OpenSSL
:: PKey :: DH # to _ text -> String (27307.0) -
鍵パラメータを人間が読める形式に変換します。
鍵パラメータを人間が読める形式に変換します。
鍵対の値は出力されません。 -
OpenSSL
:: PKey :: DSA # to _ text -> String (27307.0) -
鍵を人間が読める形式に変換します。
鍵を人間が読める形式に変換します。 -
IRB
:: Context # debug? -> bool (27304.0) -
irb がデバッグモード(IRB::Context#debug_level が 1 以上)で動作し ているかどうかを返します。
irb がデバッグモード(IRB::Context#debug_level が 1 以上)で動作し
ているかどうかを返します。
デフォルト値は false です。
@see IRB::Context#debug_level, IRB::Context#debug_level= -
IRB
:: Context # debug _ level -> Integer (27304.0) -
irb のデバッグレベルを返します。
irb のデバッグレベルを返します。
デフォルト値は 0 です。
@see IRB::Context#debug_level=, IRB::Context#debug? -
IRB
:: Context # debug _ level=(val) (27304.0) -
irb のデバッグレベルを val に設定します。
irb のデバッグレベルを val に設定します。
.irbrc ファイル中で IRB.conf[:DEBUG_LEVEL] を設定する事でも同様の操作
が行えます。
@see IRB::Context#debug_level, IRB::Context#debug? -
IRB
:: Context # inspect _ mode -> object | nil (27304.0) -
実行結果の出力方式を返します。
実行結果の出力方式を返します。
@see IRB::Context#inspect_mode= -
IRB
:: Context # inspect _ mode=(opt) (27304.0) -
実行結果の出力方式を opt に設定します。
実行結果の出力方式を opt に設定します。
@param opt 以下のいずれかを指定します。
: false, :to_s, :raw
出力結果を to_s したものを表示します。
: true, :p, :inspect
出力結果を inspect したものを表示します。
: :pp, :pretty_inspect
出力結果を pretty_inspect したものを表示します。
: :yaml, :YAML
出力結果を YAML 形式にしたものを表示します。
: :marshal, :Marshal, :MARSHAL, Marshal
出力結果を Marsh... -
IRB
:: Context # load _ modules -> [String] (27304.0) -
irb の起動時に -r オプション指定で読み込まれたライブラリ、~/.irbrc など の設定ファイル内で IRB.conf[:LOAD_MODULES] 指定で読み込まれたライブラリ の名前の配列を返します。
irb の起動時に -r オプション指定で読み込まれたライブラリ、~/.irbrc など
の設定ファイル内で IRB.conf[:LOAD_MODULES] 指定で読み込まれたライブラリ
の名前の配列を返します。 -
IRB
:: Context # math _ mode=(opt) (27304.0) -
math_mode を有効にするかどうかを指定します。
math_mode を有効にするかどうかを指定します。
.irbrc ファイル中で IRB.conf[:MATH_MODE] を設定する事でも同様の事が行え
ます。
mathn ライブラリを include するため、math_mode を有効にした後は
無効にする事ができません。
@param opt math_mode を有効にする場合に true を指定します。
@raise IRB::CantReturnToNormalMode 既に math_mode の状態で opt に
false か nil を指定... -
IRB
:: Context # prompt _ mode -> Symbol (27304.0) -
現在のプロンプトモードを Symbol で返します。
現在のプロンプトモードを Symbol で返します。
オリジナルのプロンプトモードを定義していた場合はそのモードを返します。
そうでない場合は、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、:XMP、:NULL
のいずれかを返します。
定義済みのプロンプトモードの内容については、IRB.conf[:PROMPT][mode] を
参照してください。
@see IRB::Context#prompt_mode=, lib:irb#customize_prompt -
IRB
:: Context # use _ loader -> bool (27304.0) -
load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを返します。
load または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを返します。
@see IRB::Context#use_loader= -
IRB
:: Context # use _ loader=(opt) (27304.0) -
load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを設定します。
load または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを設定します。
.irbrc ファイル中で IRB.conf[:USE_LOADER] を設定する事でも同様の事が行
えます。
デフォルト値は false です。
@see IRB::Context#use_loader? -
IRB
:: Context # use _ loader? -> bool (27304.0) -
load または require 時に irb のファイル読み込み機能(irb_load、 irb_require)を使うかどうかを返します。
load または require 時に irb のファイル読み込み機能(irb_load、
irb_require)を使うかどうかを返します。
@see IRB::Context#use_loader= -
IRB
:: Context # use _ readline -> bool | nil (27304.0) -
readline を使うかどうかを返します。
readline を使うかどうかを返します。
@return 戻り値よって以下のように動作します。
: true
readline ライブラリを使う
: false
readline ライブラリを使わない
: nil
inf-ruby-mode 以外で readline ライブラリを利用しようとする (デフォルト)
動作を変更するためには .irbrc ファイル中で IRB.conf[:USE_READLINE] の設
定や irb 起動時に --readline オプション、--noreadline オプションの指定
を行います。 -
IRB
:: Context # use _ readline? -> bool | nil (27304.0) -
readline を使うかどうかを返します。
readline を使うかどうかを返します。
@return 戻り値よって以下のように動作します。
: true
readline ライブラリを使う
: false
readline ライブラリを使わない
: nil
inf-ruby-mode 以外で readline ライブラリを利用しようとする (デフォルト)
動作を変更するためには .irbrc ファイル中で IRB.conf[:USE_READLINE] の設
定や irb 起動時に --readline オプション、--noreadline オプションの指定
を行います。 -
Net
:: IMAP :: BodyTypeText # content _ id -> String | nil (27304.0) -
Content-ID の値を文字列で返します。
Content-ID の値を文字列で返します。
@see 2045 -
Net
:: IMAP :: BodyTypeText # description -> String | nil (27304.0) -
Content-Description の値を文字列で返します。
Content-Description の値を文字列で返します。
@see 2045 -
Net
:: IMAP :: BodyTypeText # encoding -> String (27304.0) -
Content-Transfer-Encoding の値を文字列で返します。
Content-Transfer-Encoding の値を文字列で返します。
@see 2045 -
Net
:: IMAP :: BodyTypeText # md5 -> String | nil (27304.0) -
ボディの MD5 値を文字列で返します。
ボディの MD5 値を文字列で返します。 -
Net
:: IMAP :: BodyTypeText # media _ subtype -> String (27304.0) -
MIME のメディアタイプのサブタイプを返します。 media_subtype は obsolete です。
MIME のメディアタイプのサブタイプを返します。
media_subtype は obsolete です。
@see Net::IMAP::BodyTypeText#media_type -
OpenSSL
:: SSL :: SSLContext # session _ add(sess) -> bool (27304.0) -
セッションを OpenSSL::SSL::SSLContext 内部のキャッシュ領域に 追加します。
セッションを OpenSSL::SSL::SSLContext 内部のキャッシュ領域に
追加します。
成功時には真を返します。すでにキャッシュ領域にあるセッションを
追加しようとした場合は追加されずに偽を返します。
@param sess 追加するセッション(OpenSSL::SSL::Session) -
OpenSSL
:: SSL :: SSLContext # session _ cache _ mode -> Integer (27304.0) -
セッションキャッシュのモードを返します。
セッションキャッシュのモードを返します。
@see OpenSSL::SSL::SSLContext#session_cache_mode= -
OpenSSL
:: SSL :: SSLContext # tmp _ dh _ callback -> Proc | nil (27304.0) -
一時的 DH 鍵を生成するためのコールバックを返します。
一時的 DH 鍵を生成するためのコールバックを返します。
@see OpenSSL::SSL::SSLContext#tmp_dh_callback= -
OpenSSL
:: SSL :: SSLContext # tmp _ dh _ callback=(cb) (27304.0) -
一時的 DH 鍵を生成するためのコールバックを設定します。
一時的 DH 鍵を生成するためのコールバックを設定します。
コールバックには Proc や Method を渡します。
暗号で一時的な DH 鍵を利用する場合にはこのコールバックが
呼びだされ、呼びだされたブロックは適切な鍵パラメータを返さなければ
なりません。これで設定するブロックは
proc{|sslsocket, is_export, keylen| ... }
という引数を取るようにします。それぞれの引数の意味は
* sslsocket 通信に使われる OpenSSL::SSL::SSLSocket オブジェクト
* is_export 輸出規制のある暗号を利用するかど... -
OpenSSL
:: SSL :: SSLContext # verify _ depth -> Integer | nil (27304.0) -
証明書チェイン上の検証する最大の深さを返します。
証明書チェイン上の検証する最大の深さを返します。
デフォルトは nil です。
@see OpenSSL::SSL::SSLContext#verify_depth= -
OpenSSL
:: SSL :: SSLContext # verify _ mode -> Integer | nil (27304.0) -
検証モードを返します。
検証モードを返します。
デフォルトは nil です。
@see OpenSSL::SSL::SSLContext#verify_mode= -
OpenSSL
:: X509 :: StoreContext # error _ depth -> Integer (27304.0) -
エラーが起きた場所の深さを返します。
エラーが起きた場所の深さを返します。
検証対象の証明書は深さ0、その証明書を発行した CA の証明書は
深さ1、その CA の証明証を発行した上位の CA の証明書は深さ2、…
と定義されいてます。
OpenSSL::X509::StoreContext#verify を呼び出したあと、
このメソッドを呼ぶと検証でエラーが起きた場所の深さを返します。
証明書チェインの各証明書を検証した
コールバック(OpenSSL::X509::Store#verify_callback=)が検証時に
呼びだされ、StoreContext オブジェクトが渡されますが、そのオブジェクトに
対しこのメソッド... -
RDoc
:: Context # add _ alias(an _ alias) -> RDoc :: Alias (27304.0) -
引数で指定した RDoc::Alias オブジェクトを追加します。
引数で指定した RDoc::Alias オブジェクトを追加します。
@param an_alias RDoc::Alias オブジェクトを指定します。 -
RDoc
:: Context # add _ attribute(an _ attribute) -> () (27304.0) -
引数で指定した RDoc::Attr オブジェクトを追加します。
引数で指定した RDoc::Attr オブジェクトを追加します。
@param an_attribute RDoc::Attr オブジェクトを指定します。 -
RDoc
:: Context # add _ class(class _ type , name , superclass) -> RDoc :: SingleClass | RDoc :: NormalClass (27304.0) -
引数で指定したクラスを追加します。
引数で指定したクラスを追加します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param superclass 追加するクラスの親クラスを RDoc::NormalClass オ
ブジェクトで指定します。 -
RDoc
:: Context # add _ class _ or _ module(collection , class _ type , name , superclass = nil) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (27304.0) -
collection に name で指定したクラス、モジュールを追加します。
collection に name で指定したクラス、モジュールを追加します。
@param collection クラス、モジュールを追加する先を Hash オブジェ
クトで指定します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param su... -
RDoc
:: Context # add _ constant(const) -> () (27304.0) -
引数で指定した RDoc::Constant オブジェクトを追加します。
引数で指定した RDoc::Constant オブジェクトを追加します。
@param const RDoc::Constant オブジェクトを指定します。 -
RDoc
:: Context # add _ include(an _ include) -> () (27304.0) -
引数で指定した RDoc::Include オブジェクトを追加します。
引数で指定した RDoc::Include オブジェクトを追加します。
@param an_include RDoc::Include オブジェクトを指定します。 -
RDoc
:: Context # add _ method(a _ method) -> () (27304.0) -
引数で指定した RDoc::AnyMethod オブジェクトを追加します。
引数で指定した RDoc::AnyMethod オブジェクトを追加します。
@param a_method RDoc::AnyMethod オブジェクトかそのサブクラスのオ
ブジェクトを指定します。 -
RDoc
:: Context # add _ module(class _ type , name) -> RDoc :: NormalModule | RDoc :: SingleClass | RDoc :: NormalClass (27304.0) -
引数で指定したモジュールを追加します。
引数で指定したモジュールを追加します。
ただし、クラスとして既に同名のものが登録されていた場合は、何もせずにそ
のクラスを返します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@see RDoc::Context#add_class -
RDoc
:: Context # add _ require(a _ require) -> () (27304.0) -
自身が所属する RDoc::TopLevel オブジェクトに引数で指定した RDoc::Require を追加します。
自身が所属する RDoc::TopLevel オブジェクトに引数で指定した
RDoc::Require を追加します。
@param a_require RDoc::Require オブジェクトを指定します。 -
RDoc
:: Context # add _ to(array , thing) -> () (27304.0) -
array に thing を追加します。
array に thing を追加します。
@param array 配列を指定します。
@param thing 追加する要素を指定します。
RDoc::Context#add_alias などで使われています。ライブラリ内部で使
用します。
@see RDoc::Context#add_alias, RDoc::Context#add_attribute,
RDoc::Context#add_constant, RDoc::Context#add_include,
RDoc::Context#add_method, RDoc::Context#add_requ... -
RDoc
:: Context # defined _ in?(file) (27304.0) -
Return true if at least part of this thing was defined in file
Return true if at least part of this thing was defined in file -
RDoc
:: Context # each _ method {|m| . . . } -> [RDoc :: AnyMethod] (27304.0) -
追加されたメソッド(RDoc::AnyMethod かそのサブクラスのオブジェクト) に対してブロックを評価します。
追加されたメソッド(RDoc::AnyMethod かそのサブクラスのオブジェクト)
に対してブロックを評価します。 -
RDoc
:: Context # find _ enclosing _ module _ named(name) -> RDoc :: NormalModule | nil (27304.0) -
find a module at a higher scope
find a module at a higher scope -
RDoc
:: Context # find _ local _ symbol(symbol) (27304.0) -
Finds a method, constant, attribute, module or files named +symbol+ in this context
Finds a method, constant, attribute, module or files named +symbol+ in
this context -
RDoc
:: Context # find _ module _ named(name) -> RDoc :: NormalModule | nil (27304.0) -
追加された RDoc::NormalModule から引数で指定した名前のモジュール を検索します。見つからなかった場合は nil を返します。
追加された RDoc::NormalModule から引数で指定した名前のモジュール
を検索します。見つからなかった場合は nil を返します。
@param name モジュールの名前を文字列で指定します。 -
RDoc
:: Context # find _ symbol(symbol , method=nil) (27304.0) -
Look up the given symbol. If method is non-nil, then we assume the symbol references a module that contains that method
Look up the given symbol. If method is non-nil, then we assume
the symbol references a module that contains that method -
RDoc
:: Context # initialize _ classes _ and _ modules -> () (27304.0) -
追加されたクラスやモジュールをクリアします。
追加されたクラスやモジュールをクリアします。 -
RDoc
:: Context # initialize _ methods _ etc -> () (27304.0) -
追加されたメソッド、属性、alias されたメソッド(メソッド名の対応が取れて いないものを含む)、require されたファイル、include されたファイル、定数 をクリアします。
追加されたメソッド、属性、alias されたメソッド(メソッド名の対応が取れて
いないものを含む)、require されたファイル、include されたファイル、定数
をクリアします。 -
RDoc
:: Context # method _ list -> [RDoc :: AnyMethod] (27304.0) -
追加された(RDoc::AnyMethod かそのサブクラスのオブジェクト)の配列 を返します。
追加された(RDoc::AnyMethod かそのサブクラスのオブジェクト)の配列
を返します。 -
RDoc
:: Context # record _ location(toplevel) (27304.0) -
Record the file that we happen to find it in
Record the file that we happen to find it in -
RDoc
:: Context # unmatched _ alias _ lists -> {String => RDoc :: Alias} (27304.0) -
メソッド名の対応が取れていない alias の旧メソッド名がキー、 RDoc::Alias が値の Hash を返します。
メソッド名の対応が取れていない alias の旧メソッド名がキー、
RDoc::Alias が値の Hash を返します。 -
RDoc
:: Context # unmatched _ alias _ lists=(val) (27304.0) -
メソッド名の対応が取れていない alias の旧メソッド名がキー、 RDoc::Alias が値の Hash を設定します。
メソッド名の対応が取れていない alias の旧メソッド名がキー、
RDoc::Alias が値の Hash を設定します。
@param val 旧メソッド名がキー、RDoc::Alias が値の Hash を指
定します。 -
REXML
:: DocType # context -> { Symbol => object } (27304.0) -
DTD が属する文書の「コンテキスト」を返します。
DTD が属する文書の「コンテキスト」を返します。
具体的には親ノードである REXML::Document オブジェクトの
REXML::Element#context を返します。
コンテキストの具体的な内容については REXML::Element#context を
参照してください。 -
RSS
:: Maker :: TextinputBase # description (27304.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # description=() (27304.0) -
@todo
@todo -
RSS
:: RDF # textinput (27304.0) -
@todo
@todo -
RSS
:: RDF # textinput= (27304.0) -
@todo
@todo -
RSS
:: RDF :: Channel # textinput (27304.0) -
@todo
@todo -
RSS
:: RDF :: Channel # textinput= (27304.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # date (27304.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # date= (27304.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # description (27304.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # description= (27304.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # description (27304.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # description= (27304.0) -
@todo
@todo -
WIN32OLE
_ METHOD # helpcontext -> Integer | nil (27304.0) -
メソッドのヘルプコンテキストを取得します。
メソッドのヘルプコンテキストを取得します。
ヘルプコンテキストは、関連するヘルプファイル上のトピック位置を示す整数
値です。
@return ヘルプコンテキストを返します。未定義の場合はnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Workbooks')
method = WIN32OLE_METHOD.new(tobj, 'Add')
puts method.helpcontext # => 65717
WIN32OLE_METHODオブジェクトを引数として、WI... -
RDoc
:: Text # parse(text) -> RDoc :: Markup :: Document | Array (18991.0) -
引数から RDoc::Text#normalize_comment でスペースや改行文字などを削 除した後に解析を行います。
引数から RDoc::Text#normalize_comment でスペースや改行文字などを削
除した後に解析を行います。
@param text 文字列を指定します。
@see RDoc::Text#normalize_comment -
REXML
:: Element # each _ element _ with _ text(text = nil , max = 0 , name = nil) {|element| . . . } -> () (18844.0) -
テキストを子ノードとして 持つすべての子要素を引数としてブロックを呼び出します。
テキストを子ノードとして
持つすべての子要素を引数としてブロックを呼び出します。
text を指定すると、テキストの内容が text であるもののみを対象とします。
maxを指定すると、対象となる子要素の先頭 max 個のみが対象となります。
name を指定すると、それは xpath 文字列と見なされ、
それにマッチするもののみが対象となります。
max に 0 を指定すると、max の指定は無視されます(0個ではありません)。
@param text テキストの中身(文字列)
@param max ブロック呼出の対象とする子要素の最大個数
@param name xpath文字列
... -
CGI
# header(options = "text / html") -> String (18715.0) -
HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。 CGI#out を使わずに自力で HTML を出力したい場合などに使います。 このメソッドは文字列エンコーディングを変換しません。
HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。
CGI#out を使わずに自力で HTML を出力したい場合などに使います。
このメソッドは文字列エンコーディングを変換しません。
ヘッダのキーとしては以下が利用可能です。
: type
Content-Type ヘッダです。デフォルトは "text/html" です。
: charset
ボディのキャラクタセットを Content-Type ヘッダに追加します。
: nph
真偽値を指定します。真ならば、HTTP のバージョン、ステータスコード、
Date ヘッ... -
Net
:: IMAP :: ContinuationRequest # data -> Net :: IMAP :: ResponseText (18604.0) -
レスポンスのデータを返します。
レスポンスのデータを返します。 -
Net
:: IMAP :: TaggedResponse # data -> Net :: IMAP :: ResponseText (18604.0) -
レスポンスを解析したオブジェクトを返します。
レスポンスを解析したオブジェクトを返します。
@see Net::IMAP::ResponseText -
RDoc
:: Context # classes -> [RDoc :: SingleClass | RDoc :: NormalClass] (18604.0) -
追加されたクラスの配列を返します。
追加されたクラスの配列を返します。 -
RDoc
:: Context # current _ section -> RDoc :: Context :: Section (18604.0) -
現在の section を返します。
現在の section を返します。 -
RDoc
:: Context # sections -> RDoc :: Context :: Section (18604.0) -
追加された RDoc::Context::Section の配列を返します。
追加された RDoc::Context::Section の配列を返します。 -
RDoc
:: Context :: Section # parent -> RDoc :: Context (18604.0) -
自身が所属する RDoc::Context オブジェクトを返します。
自身が所属する RDoc::Context オブジェクトを返します。 -
RDoc
:: Text # normalize _ comment(text) -> String (18397.0) -
引数から行頭のスペースや改行文字などを削除します。
引数から行頭のスペースや改行文字などを削除します。
詳しくは [SEE ALSO] の各メソッドを参照してください。
@param text 文字列を指定します。
@see RDoc::Text#strip_hashes, RDoc::Text#expand_tabs,
RDoc::Text#flush_left, RDoc::Text#strip_newlines -
String
# unicode _ normalize!(form = :nfc) -> self (18394.0) -
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し た文字列に置き換えます。
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し
た文字列に置き換えます。
(gsub!などと異なり)変換が行なわれなくても self を返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@raise Encoding::CompatibilityError self が Unicode 文字列ではない場合
に発生します。
//e... -
OpenSSL
:: PKCS7 # decrypt(pkey , cert , flags = 0) -> String (18340.0) -
暗号化されたデータを復号化し、復号化されたデータを返します。
暗号化されたデータを復号化し、復号化されたデータを返します。
復号には暗号化に使った公開鍵に対応する秘密鍵と、その公開鍵を
含む証明書が必要です。
flags には以下のいずれかを指定できます。
* OpenSSL::PKCS7::TEXT
暗号化されたデータに付けられた text/plain タイプの MIME ヘッダ
を取り除きます。もしヘッダがなければエラーとなります。
@param pkey 復号化に使う秘密鍵(OpenSSL::PKey::PKey オブジェクト)
@param cert 対応する証明書(OpenSSL::X509::Certific... -
REXML
:: StreamListener # entitydecl(content) -> () (18340.0) -
DTDの実体宣言をパースしたときに呼び出されるコールバックメソッドです。
DTDの実体宣言をパースしたときに呼び出されるコールバックメソッドです。
@param content 実体宣言が配列で渡されます
実体宣言の書き方によって content に渡されるデータの形式が異なります。
//emlist[][ruby]{
require 'rexml/parsers/baseparser'
require 'rexml/parsers/streamparser'
require 'rexml/streamlistener'
xml = <<EOS
<!DOCTYPE root [
<!ENTITY % YN '"Yes"'>
<!ENTITY % YN 'Yes...