ライブラリ
- ビルトイン (6)
-
cgi
/ core (2) -
cgi
/ html (4) -
irb
/ cmd / nop (1) -
irb
/ context (45) -
irb
/ ext / history (1) -
irb
/ ext / math-mode (2) -
irb
/ ext / save-history (3) -
irb
/ ext / tracer (2) -
irb
/ ext / use-loader (2) -
irb
/ extend-command (1) -
net
/ ftp (4) -
net
/ http (3) -
net
/ imap (21) -
net
/ smtp (4) - open-uri (4)
- openssl (50)
- pp (2)
- prettyprint (3)
- psych (1)
-
rdoc
/ code _ object (1) -
rdoc
/ context (43) -
rdoc
/ markup (1) -
rdoc
/ text (8) - rexml (1)
-
rexml
/ document (21) -
rexml
/ parsers / pullparser (1) -
rexml
/ sax2listener (1) -
rexml
/ streamlistener (3) -
rubygems
/ installer (1) - uri (2)
-
webrick
/ httprequest (1) -
webrick
/ httpresponse (1) -
webrick
/ httputils (1) -
webrick
/ ssl (1) - win32ole (2)
クラス
- CGI (2)
-
Gem
:: Installer (1) -
IRB
:: Context (55) -
IRB
:: ExtendCommand :: Nop (1) -
Net
:: FTP (4) -
Net
:: IMAP :: BodyTypeMessage (1) -
Net
:: IMAP :: BodyTypeMultipart (1) -
Net
:: IMAP :: BodyTypeText (14) -
Net
:: IMAP :: ContinuationRequest (1) -
Net
:: IMAP :: FetchData (1) -
Net
:: IMAP :: ResponseText (2) -
Net
:: IMAP :: TaggedResponse (1) -
Net
:: SMTP (4) - Object (2)
-
OpenSSL
:: Netscape :: SPKI (1) -
OpenSSL
:: PKCS7 (2) -
OpenSSL
:: PKey :: DH (1) -
OpenSSL
:: PKey :: DSA (1) -
OpenSSL
:: PKey :: EC (1) -
OpenSSL
:: PKey :: EC :: Group (1) -
OpenSSL
:: PKey :: RSA (1) -
OpenSSL
:: SSL :: SSLContext (29) -
OpenSSL
:: SSL :: SSLSocket (1) -
OpenSSL
:: SSL :: Session (1) -
OpenSSL
:: X509 :: CRL (1) -
OpenSSL
:: X509 :: Certificate (1) -
OpenSSL
:: X509 :: Request (1) -
OpenSSL
:: X509 :: StoreContext (8) - PrettyPrint (3)
-
Psych
:: SyntaxError (1) -
RDoc
:: CodeObject (1) -
RDoc
:: Context (36) -
RDoc
:: Context :: Section (7) -
RDoc
:: Markup (1) -
REXML
:: CData (2) -
REXML
:: DocType (1) -
REXML
:: Element (8) -
REXML
:: Instruction (2) -
REXML
:: ParseException (1) -
REXML
:: Parsers :: PullEvent (1) -
REXML
:: Text (8) - String (6)
-
URI
:: MailTo (2) -
WEBrick
:: GenericServer (1) -
WEBrick
:: HTTPRequest (1) -
WEBrick
:: HTTPResponse (1) -
WEBrick
:: HTTPUtils :: FormData (1) -
WIN32OLE
_ METHOD (1) -
WIN32OLE
_ TYPE (1)
モジュール
-
CGI
:: HtmlExtension (4) -
IRB
:: ExtendCommandBundle (1) -
Net
:: HTTPHeader (3) -
OpenURI
:: Meta (4) -
RDoc
:: Text (8) -
REXML
:: SAX2Listener (1) -
REXML
:: StreamListener (3)
キーワード
- +@ (1)
- -@ (1)
- <=> (2)
- == (1)
- [] (1)
-
_ _ inspect _ _ (1) -
_ _ to _ s _ _ (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)
-
ap
_ name (1) -
app
_ script _ text (1) - attr (1)
- attributes (1)
-
auto
_ indent _ mode (1) -
back
_ trace _ limit (1) - body (1)
-
ca
_ file (1) -
ca
_ path (1) - cert (1)
-
cert
_ store (1) - chain (1)
- characters (1)
- charset (2)
- ciphers (1)
- classes (1)
- cleanup (1)
-
client
_ ca (1) -
client
_ cert _ cb (1) - clone (1)
- code (1)
- comment (1)
- constants (1)
- content (1)
-
content
_ id (1) -
content
_ type (2) -
content
_ type= (1) - context (5)
-
current
_ cert (1) -
current
_ crl (1) -
current
_ section (1) - data (2)
- debug? (1)
-
debug
_ level (1) - decrypt (1)
- description (1)
- disposition (1)
- doctype (1)
-
each
_ attribute (1) -
each
_ classmodule (1) -
each
_ constant (1) -
each
_ element _ with _ text (1) -
each
_ method (1) - echo (1)
- echo? (1)
- empty? (1)
-
enable
_ ssl (1) -
enable
_ starttls (1) -
enable
_ starttls _ auto (1) -
enable
_ tls (1) - encode (3)
- encoding (1)
- entitydecl (1)
- error (1)
-
error
_ depth (1) -
error
_ string (1) -
eval
_ history (1) - evaluate (1)
- exit (1)
- extension (1)
-
extra
_ chain _ cert (1) -
file
_ input? (1) -
find
_ enclosing _ module _ named (1) -
find
_ module _ named (1) -
find
_ symbol (1) -
flush
_ left (1) -
flush
_ sessions (1) -
get
_ text (1) - gettextfile (2)
- group (1)
-
has
_ elements? (1) -
has
_ text? (1) - header (1)
- helpcontext (2)
-
history
_ file (1) -
ignore
_ eof (1) -
ignore
_ eof= (1) -
ignore
_ eof? (1) -
ignore
_ sigint (1) -
ignore
_ sigint= (1) -
ignore
_ sigint? (1) - includes (1)
-
init
_ save _ history (1) -
initialize
_ classes _ and _ modules (1) -
initialize
_ methods _ etc (1) - inspect (2)
- inspect? (1)
-
inspect
_ mode (1) - instruction (1)
- io (1)
- irb (1)
-
irb
_ context (2) -
irb
_ name (1) -
irb
_ path (1) - key (1)
- language (1)
-
last
_ value (1) - lines (1)
-
load
_ modules (1) - main (1)
-
main
_ type (1) - markup (1)
- math? (1)
-
math
_ mode (1) - md5 (1)
-
media
_ subtype (1) -
media
_ type (1) -
method
_ list (1) - modules (1)
- multipart? (1)
- name (1)
-
next
_ element (1) -
node
_ type (1) -
normalize
_ comment (1) - out (1)
- param (1)
- parent (1)
- parse (1)
- parts (1)
-
pretty
_ print (1) -
pretty
_ print _ cycle (1) -
prompt
_ c (1) -
prompt
_ i (1) -
prompt
_ mode (1) -
prompt
_ n (1) -
prompt
_ s (1) - prompting? (1)
- puttextfile (2)
- query (1)
- raw (1)
- rc (1)
- rc? (1)
-
renegotiation
_ cb (1) - requires (1)
-
return
_ format (1) -
save
_ history (1) - section (1)
- sections (1)
- sequence (1)
-
servername
_ cb (1) -
session
_ add (1) -
session
_ cache _ mode (1) -
session
_ cache _ size (1) -
session
_ cache _ stats (1) -
session
_ get _ cb (1) -
session
_ id _ context (1) -
session
_ new _ cb (1) -
session
_ remove (1) -
session
_ remove _ cb (1) -
set
_ comment (1) -
set
_ current _ section (1) -
set
_ last _ value (1) -
set
_ params (1) -
set
_ visibility _ for (1) - size (1)
-
ssl
_ context (1) -
ssl
_ timeout (1) -
strip
_ hashes (1) -
strip
_ newlines (1) -
strip
_ stars (1) -
sub
_ type (1) - subtype (1)
- target (1)
- text? (1)
-
text
_ field (2) - textarea (2)
- texts (1)
- thread (1)
- timeout (1)
- title (1)
-
tmp
_ dh _ callback (1) -
to
_ mailtext (1) -
to
_ rfc822text (1) -
to
_ s (3) -
to
_ text (10) - toplevel (1)
-
unicode
_ normalize! (1) -
unmatched
_ alias _ lists (1) -
use
_ loader (1) -
use
_ loader? (1) -
use
_ readline (1) -
use
_ readline? (1) -
use
_ tracer (1) -
use
_ tracer? (1) - value (2)
- verbose (1)
- verbose? (1)
- verify (2)
-
verify
_ callback (1) -
verify
_ depth (1) -
verify
_ mode (1) - visibility (1)
- workspace (1)
検索結果
先頭5件
-
Net
:: IMAP :: ResponseText # text -> String (81907.0) -
応答のテキストを文字列で返します。
応答のテキストを文字列で返します。 -
REXML
:: StreamListener # text(text) -> () (73528.0) -
XML文書内のテキストをパースしたときに呼び出されるコールバックメソッドです。
XML文書内のテキストをパースしたときに呼び出されるコールバックメソッドです。
@param text テキストが文字列で渡されます -
REXML
:: Element # text(path = nil) -> String | nil (73051.0) -
先頭のテキスト子ノードの文字列を返します。
先頭のテキスト子ノードの文字列を返します。
テキストノードを複数保持している場合は最初のノードにしか
アクセスできないことに注意してください。
raw モードの設定は無視され、常に正規化されたテキストを返します。
REXML::Text#value も参照してください。
path を渡した場合は、その XPath 文字列で指定される
テキストノードの文字列を返します。
テキストノードがない場合には nil を返します。
@param path XPath文字列
@see REXML::Element#get_text
//emlist[][ruby]{
require 'rexml... -
PrettyPrint
# text(obj) -> () (72910.0) -
obj を width カラムのテキストとして自身に追加します。
obj を width カラムのテキストとして自身に追加します。
@param obj 自身に追加するテキストを文字列で指定します。
@param width obj のカラムを指定します。指定されなかった場合、obj.length が利用されます。 -
PrettyPrint
# text(obj , width = obj . length) -> () (72910.0) -
obj を width カラムのテキストとして自身に追加します。
obj を width カラムのテキストとして自身に追加します。
@param obj 自身に追加するテキストを文字列で指定します。
@param width obj のカラムを指定します。指定されなかった場合、obj.length が利用されます。 -
OpenSSL
:: SSL :: SSLContext # session _ id _ context -> String | nil (54904.0) -
セッション ID コンテキスト文字列を返します。
セッション ID コンテキスト文字列を返します。
設定されていない場合は nil を返します。
@see OpenSSL::SSL::Session,
OpenSSL::SSL::SSLContext#session_id_context= -
IRB
:: ExtendCommand :: Nop # irb _ context -> IRB :: Context (46504.0) -
irb の現在の設定(IRB::Context)を返します。
irb の現在の設定(IRB::Context)を返します。 -
IRB
:: ExtendCommandBundle # irb _ context -> IRB :: Context (46504.0) -
現在の irb に関する IRB::Context を返します。
現在の irb に関する IRB::Context を返します。 -
URI
:: MailTo # to _ mailtext -> String (46015.0) -
URI オブジェクトからメールテキスト文字列を生成します。
URI オブジェクトからメールテキスト文字列を生成します。
例:
require 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext
=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr>
To: ruby-list@ruby-lang.org
Sub... -
URI
:: MailTo # to _ rfc822text -> String (46015.0) -
URI オブジェクトからメールテキスト文字列を生成します。
URI オブジェクトからメールテキスト文字列を生成します。
例:
require 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext
=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr>
To: ruby-list@ruby-lang.org
Sub... -
REXML
:: ParseException # context -> [Integer , Integer , Integer] (37804.0) -
パースエラーが起きた(XML上の)場所を返します。
パースエラーが起きた(XML上の)場所を返します。
要素3個の配列で、
[position, lineno, line]
という形で返します。
position, line は
REXML::ParseException#position
REXML::ParseException#line
と同じ値です。
lineno は IO#lineno が返す意味での行数です。
通常は line と同じ値です。 -
OpenSSL
:: SSL :: SSLSocket # context -> OpenSSL :: SSL :: SSLContext (37504.0) -
SSLSocket オブジェクトを生成する時に渡されたコンテクストを返します。
SSLSocket オブジェクトを生成する時に渡されたコンテクストを返します。
@see OpenSSL::SSL::SSLSocket.new -
REXML
:: Element # texts -> [REXML :: Texts] (37504.0) -
すべてのテキスト子ノードの配列を返します。
すべてのテキスト子ノードの配列を返します。
返される配列は freeze されます。 -
WEBrick
:: GenericServer # ssl _ context -> OpenSSL :: SSL :: SSLContext | nil (37504.0) -
サーバが保持する OpenSSL::SSL::SSLContext オブジェクトを返します。
サーバが保持する OpenSSL::SSL::SSLContext オブジェクトを返します。 -
REXML
:: Element # get _ text(path = nil) -> REXML :: Text | nil (37354.0) -
先頭のテキスト子ノードを返します。
先頭のテキスト子ノードを返します。
raw モードの設定は無視され、常に正規化されたテキストを返します。
REXML::Text#value も参照してください。
path を渡した場合は、その XPath 文字列で指定される
テキストノードの文字列を返します。
テキストノードがない場合には nil を返します。
@param path XPath文字列
@see REXML::Element#text
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new "<p>some text <b>this ... -
REXML
:: Element # each _ element _ with _ text(text = nil , max = 0 , name = nil) {|element| . . . } -> () (37336.0) -
テキストを子ノードとして 持つすべての子要素を引数としてブロックを呼び出します。
テキストを子ノードとして
持つすべての子要素を引数としてブロックを呼び出します。
text を指定すると、テキストの内容が text であるもののみを対象とします。
maxを指定すると、対象となる子要素の先頭 max 個のみが対象となります。
name を指定すると、それは xpath 文字列と見なされ、
それにマッチするもののみが対象となります。
max に 0 を指定すると、max の指定は無視されます(0個ではありません)。
@param text テキストの中身(文字列)
@param max ブロック呼出の対象とする子要素の最大個数
@param name xpath文字列
... -
CGI
:: HtmlExtension # text _ field(attributes) -> String (37321.0) -
タイプが text である input 要素を生成します。
タイプが text である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
text_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="text" NAME="name" VALUE="value"> -
CGI
:: HtmlExtension # textarea(attributes) -> String (37204.0) -
textarea 要素を生成します。
textarea 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
textarea("name", 40, 5)
# = textarea({ "NAME" => "name", "COLS" => 40, "ROWS" => 5 }) -
WIN32OLE
_ METHOD # helpcontext -> Integer | nil (37204.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... -
WIN32OLE
_ TYPE # helpcontext -> Integer | nil (37204.0) -
この型に関連するヘルプファイルのトピックID(ヘルプコンテキスト)を取得 します。
この型に関連するヘルプファイルのトピックID(ヘルプコンテキスト)を取得
します。
@return 型に関連するヘルプコンテキストを整数で返します。ヘルプコンテキ
ストが登録されていない場合はnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
puts tobj.helpcontext # => 131185 -
CGI
:: HtmlExtension # text _ field(name = "" , value = nil , size = 40 , maxlength = nil) -> String (37111.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... -
REXML
:: Element # context -> {Symbol => object} | nil (36976.0) -
要素の「コンテキスト」を Hash で返します。
要素の「コンテキスト」を Hash で返します。
コンテキストとは text node (REXML::Text) での特別な文字、特に空白について
の取り扱いについての設定です。
以下の Symbol をハッシュのキーとして使います。
: :respect_whitespace
空白を考慮して欲しい要素の名前の集合を文字列の配列で指定します。
また、すべての要素で空白を考慮して欲しい場合には
:all を指定します。
デフォルト値は :all です。
REXML::Element#whitespace も参照してください。
: :compress_whitespac... -
Gem
:: Installer # app _ script _ text -> String (36907.0) -
アプリケーションのための実行ファイルの雛形のテキストを返します。
アプリケーションのための実行ファイルの雛形のテキストを返します。 -
OpenSSL
:: Netscape :: SPKI # to _ text -> String (36907.0) -
SPKI オブジェクトを人間が読める形式の文字列に変換します。
SPKI オブジェクトを人間が読める形式の文字列に変換します。 -
OpenSSL
:: PKey :: DH # to _ text -> String (36907.0) -
鍵パラメータを人間が読める形式に変換します。
鍵パラメータを人間が読める形式に変換します。
鍵対の値は出力されません。 -
OpenSSL
:: PKey :: DSA # to _ text -> String (36907.0) -
鍵を人間が読める形式に変換します。
鍵を人間が読める形式に変換します。 -
OpenSSL
:: PKey :: EC # to _ text -> String (36907.0) -
鍵を人間が読める形式に変換します。
鍵を人間が読める形式に変換します。
@raise OpenSSL::PKey::ECError 文字列への変換に失敗した場合に発生します。
公開鍵が含まれていない場合や、鍵が妥当でない場合などに失敗します。 -
OpenSSL
:: PKey :: EC :: Group # to _ text -> String (36907.0) -
自身を人間に可読な形式の文字列に変換します。
自身を人間に可読な形式の文字列に変換します。
@raise OpenSSL::PKey::EC::Group::Error 変換に失敗した場合に発生します。 -
OpenSSL
:: PKey :: RSA # to _ text -> String (36907.0) -
鍵を人間が読める形式に変換します。
鍵を人間が読める形式に変換します。 -
OpenSSL
:: SSL :: Session # to _ text -> String (36907.0) -
自身を可読な形式に変換します。
自身を可読な形式に変換します。
@raise OpenSSL::SSL::Session::SessionError 変換に失敗した場合に発生します -
OpenSSL
:: X509 :: CRL # to _ text -> String (36907.0) -
人間が読める形式に変換します。
人間が読める形式に変換します。
@raise OpenSSL::X509::CRLError 変換に失敗した場合に発生します -
OpenSSL
:: X509 :: Certificate # to _ text -> String (36907.0) -
人間が読める形式の文字列を返します。
人間が読める形式の文字列を返します。 -
OpenSSL
:: X509 :: Request # to _ text -> String (36907.0) -
人間が読める形式の文字列に変換して返します。
人間が読める形式の文字列に変換して返します。
@raise OpenSSL::X509::RequestError 変換に失敗した場合に発生します -
REXML
:: Element # has _ text? -> bool (36907.0) -
要素がテキストノードを子ノードとして持つ場合に true を返します。
要素がテキストノードを子ノードとして持つ場合に true を返します。 -
REXML
:: Parsers :: PullEvent # text? -> bool (36907.0) -
テキストノードなら真を返します。
テキストノードなら真を返します。 -
CGI
:: HtmlExtension # textarea(name = "" , cols = 70 , rows = 10) -> String (36904.0) -
textarea 要素を生成します。
textarea 要素を生成します。
@param name name 属性の値を指定します。
@param cols cols 属性の値を指定します。
@param rows rows 属性の値を指定します。
例:
textarea("name")
# = textarea({ "NAME" => "name", "COLS" => 70, "ROWS" => 10 }) -
IRB
:: Context # set _ last _ value(value) -> object (36904.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
Net
:: FTP # gettextfile(remotefile , localfile = File . basename(remotefile)) -> nil (36904.0) -
サーバ上のファイルをテキストモードで取得します。
サーバ上のファイルをテキストモードで取得します。
サーバー上にある remotefile という名前のファイルを取得し、
ローカルの localfile という名前のファイルに保存します。
localfile が nil である場合には保存はしません。
ブロックが指定された場合は
データを1行受信するごとに、その行をブロックに渡します。
@param remotefile 取得対象のリモートのファイル名を与えます。
@param localfile 取得したデータを格納するローカルのファイル名を与えます。
@raise Net::FTPTempError 応答コードが 4yz の... -
Net
:: FTP # gettextfile(remotefile , localfile = File . basename(remotefile)) {|line| . . . } -> nil (36904.0) -
サーバ上のファイルをテキストモードで取得します。
サーバ上のファイルをテキストモードで取得します。
サーバー上にある remotefile という名前のファイルを取得し、
ローカルの localfile という名前のファイルに保存します。
localfile が nil である場合には保存はしません。
ブロックが指定された場合は
データを1行受信するごとに、その行をブロックに渡します。
@param remotefile 取得対象のリモートのファイル名を与えます。
@param localfile 取得したデータを格納するローカルのファイル名を与えます。
@raise Net::FTPTempError 応答コードが 4yz の... -
Net
:: FTP # puttextfile(localfile , remotefile = File . basename(localfile)) -> nil (36904.0) -
サーバにファイルをテキストモードで転送します。
サーバにファイルをテキストモードで転送します。
ローカルの localfile という名前のファイルを読みだし、
サーバー上の remotefile という名前のファイルに保存します。
ブロックが指定された場合は
データを1行転送するごとに、その行を
ブロックに渡します。
@param localfile 転送するローカルのファイル名を与えます。
@param remotefile 転送データを保存するリモートのファイル名を与えます。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コー... -
Net
:: FTP # puttextfile(localfile , remotefile = File . basename(localfile)) {|line| . . . } -> nil (36904.0) -
サーバにファイルをテキストモードで転送します。
サーバにファイルをテキストモードで転送します。
ローカルの localfile という名前のファイルを読みだし、
サーバー上の remotefile という名前のファイルに保存します。
ブロックが指定された場合は
データを1行転送するごとに、その行を
ブロックに渡します。
@param localfile 転送するローカルのファイル名を与えます。
@param remotefile 転送データを保存するリモートのファイル名を与えます。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コー... -
OpenSSL
:: SSL :: SSLContext # client _ cert _ cb -> Proc | nil (36904.0) -
OpenSSL::SSL::SSLContext#cert= でクライアント証明書を セットしていなかった場合にサーバからクライアント証明書の要求が来たときに 呼びだされるコールバックオブジェクトを返します。
OpenSSL::SSL::SSLContext#cert= でクライアント証明書を
セットしていなかった場合にサーバからクライアント証明書の要求が来たときに
呼びだされるコールバックオブジェクトを返します。
デフォルトは nil (コールバックなし)です。
@see OpenSSL::SSL::SSLContext#client_cert_cb= -
OpenSSL
:: SSL :: SSLContext # renegotiation _ cb -> nil | Proc (36904.0) -
ハンドシェイク開始時に呼び出されるコールバックを得ます。
ハンドシェイク開始時に呼び出されるコールバックを得ます。
@see OpenSSL::SSL::SSLContext#renegotiation_cb= -
Psych
:: SyntaxError # context -> String (36904.0) -
エラーが生じたコンテキストを文字列で返します。
エラーが生じたコンテキストを文字列で返します。 -
RDoc
:: Context # add _ attribute(an _ attribute) -> () (36904.0) -
引数で指定した RDoc::Attr オブジェクトを追加します。
引数で指定した RDoc::Attr オブジェクトを追加します。
@param an_attribute RDoc::Attr オブジェクトを指定します。 -
RDoc
:: Context # attributes -> [RDoc :: Attr] (36904.0) -
追加された RDoc::Attr の配列を返します。
追加された RDoc::Attr の配列を返します。 -
RDoc
:: Context # each _ attribute {|a| . . . } -> [RDoc :: Attr] (36904.0) -
追加された RDoc::Attr に対してブロックを評価します。
追加された RDoc::Attr に対してブロックを評価します。 -
RDoc
:: Context # set _ current _ section(title , comment) -> () (36904.0) -
Handle sections
Handle sections -
REXML
:: DocType # context -> { Symbol => object } (36904.0) -
DTD が属する文書の「コンテキスト」を返します。
DTD が属する文書の「コンテキスト」を返します。
具体的には親ノードである REXML::Document オブジェクトの
REXML::Element#context を返します。
コンテキストの具体的な内容については REXML::Element#context を
参照してください。 -
IRB
:: Context # evaluate(line , line _ no) -> object (36604.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
RDoc
:: Text # strip _ hashes(text) -> String (28225.0) -
引数から各行の行頭の # を削除します。
引数から各行の行頭の # を削除します。
@param text 文字列を指定します。 -
RDoc
:: Text # strip _ newlines(text) -> String (28225.0) -
引数から先頭と末尾の改行を削除します。
引数から先頭と末尾の改行を削除します。
@param text 文字列を指定します。 -
RDoc
:: Text # strip _ stars(text) -> String (28225.0) -
引数から /* 〜 */ 形式のコメントを削除します。
引数から /* 〜 */ 形式のコメントを削除します。
@param text 文字列を指定します。 -
REXML
:: SAX2Listener # characters(text) -> () (28225.0) -
XML の文字データに出会ったときに呼び出されるコールバックメソッドです。
XML の文字データに出会ったときに呼び出されるコールバックメソッドです。
@param text 文字データ(文字列)が渡されます -
RDoc
:: Context # sections -> RDoc :: Context :: Section (28204.0) -
追加された RDoc::Context::Section の配列を返します。
追加された RDoc::Context::Section の配列を返します。 -
RDoc
:: Context :: Section # parent -> RDoc :: Context (28204.0) -
自身が所属する RDoc::Context オブジェクトを返します。
自身が所属する RDoc::Context オブジェクトを返します。 -
RDoc
:: Text # normalize _ comment(text) -> String (27997.0) -
引数から行頭のスペースや改行文字などを削除します。
引数から行頭のスペースや改行文字などを削除します。
詳しくは [SEE ALSO] の各メソッドを参照してください。
@param text 文字列を指定します。
@see RDoc::Text#strip_hashes, RDoc::Text#expand_tabs,
RDoc::Text#flush_left, RDoc::Text#strip_newlines -
REXML
:: StreamListener # instruction(name , instruction) -> () (27976.0) -
XML処理命令(PI)をパースしたときに呼び出されるコールバックメソッドです。
XML処理命令(PI)をパースしたときに呼び出されるコールバックメソッドです。
@param name ターゲット名が文字列で渡されます
@param instruction 処理命令の内容が文字列で渡されます
=== 例
<?xml-stylesheet type="text/css" href="style.css"?>
というPIに対し
name: "xml-stylesheet"
instruction: " type=\"text/css\" href=\"style.css\""
という引数が渡されます。 -
RDoc
:: Text # expand _ tabs(text) -> String (27973.0) -
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな るように置き換えます。
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな
るように置き換えます。
@param text 文字列を指定します。 -
String
# -@ -> String | self (27964.0) -
self が freeze されている文字列の場合、self を返します。 freeze されていない場合は元の文字列の freeze された (できる限り既存の) 複製を返します。
self が freeze されている文字列の場合、self を返します。
freeze されていない場合は元の文字列の freeze された (できる限り既存の) 複製を返します。
//emlist[例][ruby]{
# frozen_string_literal: false
original_text = "text"
frozen_text = -original_text
frozen_text.frozen? # => true
original_text == frozen_text # => true
original_te... -
Net
:: IMAP :: BodyTypeText # disposition -> Net :: IMAP :: ContentDisposition | nil (27952.0) -
Content-Dispotition の値を返します。
Content-Dispotition の値を返します。
Net::IMAP::ContentDisposition オブジェクトを返します。
@see 1806, 2183 -
RDoc
:: Text # flush _ left(text) -> String (27925.0) -
引数から各行の行頭のスペースを削除します。
引数から各行の行頭のスペースを削除します。
@param text 文字列を指定します。 -
IRB
:: Context # thread -> Thread (27904.0) -
現在のスレッドを返します。
現在のスレッドを返します。
@see Thread.current -
OpenSSL
:: SSL :: SSLContext # session _ cache _ stats -> {Symbol -> Integer} (27904.0) -
セッションキャッシュの内部統計情報をハッシュテーブルで返します。
セッションキャッシュの内部統計情報をハッシュテーブルで返します。
ハッシュテーブルの各キーとその意味は以下の通りです。
* :cache_num 内部キャッシュに保持されているセッションの数
* :connect クライアント側でハンドシェイクした回数
* :connect_good クライアント側でハンドシェイクが成功した回数
* :connect_renegotiate クライアント側で再ネゴシエイトした回数
* :accept サーバ側でハンドシェイクした回数
* :accept_good サーバ側でハンドシェイクが成功した回数
* :accept_ren... -
OpenSSL
:: X509 :: StoreContext # error _ string -> String (27904.0) -
検証したときのエラー文字列を返します。
検証したときのエラー文字列を返します。
OpenSSL::X509::StoreContext#verify を呼びだし、
証明書チェインの各証明書を検証した
コールバック(OpenSSL::X509::Store#verify_callback=)が呼び出され、
StoreContext オブジェクトが渡されますが、このメソッドを呼ぶと
直前の証明書検証結果のエラー文字列が得られます。
OpenSSL::X509::StoreContext#verify を呼び出したあと、
このメソッドを呼ぶと検証の最終的な検証結果のエラー文字列を返します。
検証に成功した場合は "ok" を返します... -
RDoc
:: Context # add _ method(a _ method) -> () (27904.0) -
引数で指定した RDoc::AnyMethod オブジェクトを追加します。
引数で指定した RDoc::AnyMethod オブジェクトを追加します。
@param a_method RDoc::AnyMethod オブジェクトかそのサブクラスのオ
ブジェクトを指定します。 -
RDoc
:: Context # constants -> [RDoc :: Constant] (27904.0) -
追加された RDoc::Constant の配列を返します。
追加された RDoc::Constant の配列を返します。 -
RDoc
:: Context # current _ section -> RDoc :: Context :: Section (27904.0) -
現在の section を返します。
現在の section を返します。 -
RDoc
:: Context # each _ constant {|c| . . . } -> [RDoc :: Constant] (27904.0) -
追加された RDoc::Constant に対してブロックを評価します。
追加された RDoc::Constant に対してブロックを評価します。 -
RDoc
:: Context # each _ method {|m| . . . } -> [RDoc :: AnyMethod] (27904.0) -
追加されたメソッド(RDoc::AnyMethod かそのサブクラスのオブジェクト) に対してブロックを評価します。
追加されたメソッド(RDoc::AnyMethod かそのサブクラスのオブジェクト)
に対してブロックを評価します。 -
RDoc
:: Context # method _ list -> [RDoc :: AnyMethod] (27904.0) -
追加された(RDoc::AnyMethod かそのサブクラスのオブジェクト)の配列 を返します。
追加された(RDoc::AnyMethod かそのサブクラスのオブジェクト)の配列
を返します。 -
RDoc
:: Context # toplevel -> RDoc :: TopLevel (27904.0) -
自身が所属する RDoc::TopLevel オブジェクトを返します。
自身が所属する RDoc::TopLevel オブジェクトを返します。 -
REXML
:: Text # doctype -> REXML :: DocType | nil (27904.0) -
テキストノードが属する文書の DTD を返します。
テキストノードが属する文書の DTD を返します。
そのような文書(REXML::Document)が存在しない、すなわち
テキストノードの親ノードを辿っても REXML::Document に到達しない、
場合には nil を返します。
@see REXML::DocType -
REXML
:: Text # to _ s -> String (27712.0) -
テキストの内容を正規化(すべての実体をエスケープ)された状態で返します。
テキストの内容を正規化(すべての実体をエスケープ)された状態で返します。
つまり返り値は XML のテキストとして妥当です。
結果は REXML::Text.new で指定した entity_filter を反映しています。
@see REXML::Text#value
//emlist[][ruby]{
require 'rexml/document'
t = REXML::Text.new("< & foobar", false, nil, false)
t.to_s # => "< & foobar"
t.value # => "< & foobar"
//} -
OpenURI
:: Meta # meta -> Hash (27694.0) -
ヘッダを収録したハッシュを返します。
ヘッダを収録したハッシュを返します。
//emlist[例][ruby]{
require 'open-uri'
open('http://example.com/') {|f|
p f.meta
#=> {"date"=>"Sun, 04 May 2008 11:26:40 GMT",
# "content-type"=>"text/html;charset=utf-8",
# "server"=>"Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e",
# "transfer... -
IRB
:: Context # ignore _ sigint -> bool (27652.0) -
Ctrl-C が入力された時に irb を終了するかどうかを返します。
Ctrl-C が入力された時に irb を終了するかどうかを返します。
false の時は irb を終了します。true の時は以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を中止する.
デフォルト値は true です。
@see IRB::Context#ignore_sigint= -
IRB
:: Context # ignore _ sigint? -> bool (27652.0) -
Ctrl-C が入力された時に irb を終了するかどうかを返します。
Ctrl-C が入力された時に irb を終了するかどうかを返します。
false の時は irb を終了します。true の時は以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を中止する.
デフォルト値は true です。
@see IRB::Context#ignore_sigint= -
Net
:: IMAP :: BodyTypeText # content _ id -> String | nil (27652.0) -
Content-ID の値を文字列で返します。
Content-ID の値を文字列で返します。
@see 2045 -
Net
:: IMAP :: BodyTypeText # description -> String | nil (27652.0) -
Content-Description の値を文字列で返します。
Content-Description の値を文字列で返します。
@see 2045 -
REXML
:: Text # node _ type -> Symbol (27652.0) -
Symbol :text を返します。
Symbol :text を返します。 -
Net
:: IMAP :: BodyTypeText # media _ type -> String (27622.0) -
MIME のメディアタイプを返します。
MIME のメディアタイプを返します。
これは "TEXT" を返します。
@see Net::IMAP::BodyTypeText#subtype -
IRB
:: Context # _ _ inspect _ _ -> String (27604.0) -
自身を文字列表現にしたオブジェクトを返します。
自身を文字列表現にしたオブジェクトを返します。 -
IRB
:: Context # _ _ to _ s _ _ -> String (27604.0) -
自身を文字列表現にしたオブジェクトを返します。
自身を文字列表現にしたオブジェクトを返します。 -
IRB
:: Context # auto _ indent _ mode -> bool (27604.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
デフォルト値は false です。
@return 自動で字下げを行う場合は true を返します。行わない場合は false
を返します。
@see IRB::Context#auto_indent_mode= -
IRB
:: Context # back _ trace _ limit -> Integer (27604.0) -
エラー発生時のバックトレース表示の先頭、末尾の上限の行数を返します。
エラー発生時のバックトレース表示の先頭、末尾の上限の行数を返します。
デフォルト値は 16 です。
@see IRB::Context#back_trace_limit= -
IRB
:: Context # eval _ history -> Integer | nil (27604.0) -
実行結果の履歴の最大保存件数を Integer か nil で返します。
実行結果の履歴の最大保存件数を Integer か nil で返します。
@return 履歴の最大保存件数を Integer か nil で返します。0 を返し
た場合は無制限に保存します。nil を返した場合は追加の保存は行いません。
@see IRB::Context#eval_history= -
IRB
:: Context # exit(ret = 0) -> object (27604.0) -
irb を終了します。ret で指定したオブジェクトを返します。
irb を終了します。ret で指定したオブジェクトを返します。
@param ret 戻り値を指定します。
@see IRB.irb_exit -
IRB
:: Context # file _ input? -> bool (27604.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # history _ file -> String | nil (27604.0) -
履歴ファイルのパスを返します。
履歴ファイルのパスを返します。
@return 履歴ファイルのパスを String か nil で返します。nil を返し
た場合は、~/.irb_history に履歴が保存されます。
@see lib:irb#history -
IRB
:: Context # init _ save _ history -> () (27604.0) -
自身の持つ IRB::InputMethod オブジェクトが irb のヒストリを扱える ようにします。
自身の持つ IRB::InputMethod オブジェクトが irb のヒストリを扱える
ようにします。
@see IRB::HistorySavingAbility.extended -
IRB
:: Context # inspect -> String (27604.0) -
自身を人間に読みやすい文字列にして返します。
自身を人間に読みやすい文字列にして返します。 -
IRB
:: Context # inspect? -> bool (27604.0) -
IRB::Context#inspect_mode が有効かどうかを返します。
IRB::Context#inspect_mode が有効かどうかを返します。
@return 出力結果に to_s したものを表示する場合は false を返します。それ
以外の場合は true を返します。
@see IRB::Context#inspect_mode, IRB::Context#inspect_mode= -
IRB
:: Context # inspect _ mode -> object | nil (27604.0) -
実行結果の出力方式を返します。
実行結果の出力方式を返します。
@see IRB::Context#inspect_mode= -
IRB
:: Context # irb _ path -> String (27604.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # last _ value -> object (27604.0) -
irb 中での最後の実行結果を返します。
irb 中での最後の実行結果を返します。 -
IRB
:: Context # math? -> bool (27604.0) -
math_mode が有効かどうかを返します。
math_mode が有効かどうかを返します。
@see IRB::Context#math_mode=, IRB::Context#inspect? -
IRB
:: Context # math _ mode -> bool (27604.0) -
math_mode が有効かどうかを返します。
math_mode が有効かどうかを返します。
@see IRB::Context#math_mode=, IRB::Context#inspect? -
IRB
:: Context # prompt _ c -> String (27604.0) -
式が継続している時のプロンプトを表現するフォーマット文字列を返します。
式が継続している時のプロンプトを表現するフォーマット文字列を返します。
@see IRB::Context#prompt_c=, lib:irb#customize_prompt -
IRB
:: Context # prompt _ i -> String (27604.0) -
通常のプロンプトを表現するフォーマット文字列を返します。
通常のプロンプトを表現するフォーマット文字列を返します。
@see IRB::Context#prompt_i=,lib:irb#customize_prompt -
IRB
:: Context # prompt _ mode -> Symbol (27604.0) -
現在のプロンプトモードを Symbol で返します。
現在のプロンプトモードを Symbol で返します。
オリジナルのプロンプトモードを定義していた場合はそのモードを返します。
そうでない場合は、:DEFAULT、:CLASSIC、:SIMPLE、:INF_RUBY、:XMP、:NULL
のいずれかを返します。
定義済みのプロンプトモードの内容については、IRB.conf[:PROMPT][mode] を
参照してください。
@see IRB::Context#prompt_mode=, lib:irb#customize_prompt