ライブラリ
- ビルトイン (6)
-
cgi
/ core (2) -
cgi
/ html (4) -
irb
/ cmd / nop (1) -
irb
/ context (63) -
irb
/ ext / history (2) -
irb
/ ext / math-mode (3) -
irb
/ ext / save-history (5) -
irb
/ ext / tracer (3) -
irb
/ ext / use-loader (3) -
irb
/ extend-command (1) -
net
/ ftp (4) -
net
/ http (3) -
net
/ imap (21) -
net
/ smtp (4) - open-uri (4)
- openssl (80)
- pp (2)
- prettyprint (3)
- psych (1)
-
rdoc
/ code _ object (1) -
rdoc
/ context (49) -
rdoc
/ markup (1) -
rdoc
/ text (8) - rexml (1)
-
rexml
/ document (20) -
rexml
/ parsers / pullparser (1) -
rexml
/ sax2listener (1) -
rexml
/ streamlistener (3) - rss (38)
-
rubygems
/ installer (1) - uri (2)
-
webrick
/ httpresponse (1) -
webrick
/ httputils (1) -
webrick
/ ssl (1) - win32ole (2)
クラス
- CGI (2)
-
Gem
:: Installer (1) -
IRB
:: Context (79) -
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 (54) -
OpenSSL
:: SSL :: SSLSocket (1) -
OpenSSL
:: SSL :: Session (1) -
OpenSSL
:: X509 :: CRL (1) -
OpenSSL
:: X509 :: Certificate (1) -
OpenSSL
:: X509 :: Request (1) -
OpenSSL
:: X509 :: StoreContext (13) - PrettyPrint (3)
-
Psych
:: SyntaxError (1) -
RDoc
:: CodeObject (1) -
RDoc
:: Context (42) -
RDoc
:: Context :: Section (7) -
RDoc
:: Markup (1) -
REXML
:: CData (2) -
REXML
:: DocType (1) -
REXML
:: Element (10) -
REXML
:: Instruction (2) -
REXML
:: ParseException (1) -
REXML
:: Parsers :: PullEvent (1) -
REXML
:: Text (5) -
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) - String (6)
-
URI
:: MailTo (2) -
WEBrick
:: GenericServer (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)
- <=> (1)
- == (1)
- [] (1)
-
_ _ inspect _ _ (1) -
_ _ to _ s _ _ (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)
-
ap
_ name (1) -
ap
_ name= (1) -
app
_ script _ text (1) - attr (1)
- attributes (1)
-
auto
_ indent _ mode (1) -
auto
_ indent _ mode= (1) -
back
_ trace _ limit (1) -
back
_ trace _ limit= (1) - body (1)
-
ca
_ file (1) -
ca
_ file= (1) -
ca
_ path (1) -
ca
_ path= (1) - cert (1)
- cert= (1)
-
cert
_ store (1) -
cert
_ store= (1) - chain (1)
- characters (1)
- charset (2)
- ciphers (1)
- ciphers= (1)
- classes (1)
- cleanup (1)
-
client
_ ca (1) -
client
_ ca= (1) -
client
_ cert _ cb (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)
- context= (1)
-
current
_ cert (1) -
current
_ crl (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) - echo (1)
- echo= (1)
- echo? (1)
-
enable
_ ssl (1) -
enable
_ starttls (1) -
enable
_ starttls _ auto (1) -
enable
_ tls (1) - encode (3)
- encoding (1)
- entitydecl (1)
- error (1)
- error= (1)
-
error
_ depth (1) -
error
_ string (1) -
eval
_ history (1) -
eval
_ history= (1) - evaluate (1)
- exit (1)
- extension (1)
-
extra
_ chain _ cert (1) -
extra
_ chain _ cert= (1) -
file
_ input? (1) -
find
_ enclosing _ module _ named (1) -
find
_ local _ symbol (1) -
find
_ module _ named (1) -
find
_ symbol (1) - flags= (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) -
history
_ file= (1) -
ignore
_ eof (1) -
ignore
_ eof= (1) -
ignore
_ eof? (1) -
ignore
_ sigint (1) -
ignore
_ sigint= (1) -
ignore
_ sigint? (1) -
in
_ files (1) - includes (1)
-
init
_ save _ history (1) -
initialize
_ classes _ and _ modules (1) -
initialize
_ methods _ etc (1) - inspect (2)
- inspect? (1)
-
inspect
_ mode (1) -
inspect
_ mode= (1) - instruction (1)
- io (1)
- io= (1)
- irb (1)
- irb= (1)
-
irb
_ context (2) -
irb
_ name (1) -
irb
_ name= (1) -
irb
_ path (1) -
irb
_ path= (1) - key (1)
- key= (1)
- language (1)
-
last
_ value (1) - lines (1)
- link (3)
- link= (3)
-
load
_ modules (1) - main (1)
-
main
_ type (1) - markup (1)
- math? (1)
-
math
_ mode (1) -
math
_ mode= (1) - md5 (1)
-
media
_ subtype (1) -
media
_ type (1) -
method
_ list (1) - modules (1)
- multipart? (1)
- name (4)
- name= (3)
-
next
_ element (1) -
node
_ type (1) -
normalize
_ comment (1) -
ongoing
_ visibility= (1) - out (1)
- param (1)
- parent (1)
- parse (1)
- parts (1)
-
pretty
_ print (1) -
pretty
_ print _ cycle (1) -
prompt
_ c (1) -
prompt
_ c= (1) -
prompt
_ i (1) -
prompt
_ i= (1) -
prompt
_ mode (1) -
prompt
_ mode= (1) -
prompt
_ n (1) -
prompt
_ n= (1) -
prompt
_ s (1) -
prompt
_ s= (1) - prompting? (1)
- purpose= (1)
- puttextfile (2)
- rc (1)
- rc? (1)
-
record
_ location (1) -
renegotiation
_ cb (1) -
renegotiation
_ cb= (1) - requires (1)
- resource (1)
- resource= (1)
-
return
_ format (1) -
return
_ format= (1) -
save
_ history (1) -
save
_ history= (1) - section (1)
- sections (1)
- sequence (1)
-
servername
_ cb (1) -
servername
_ cb= (1) -
session
_ add (1) -
session
_ cache _ mode (1) -
session
_ cache _ mode= (1) -
session
_ cache _ size (1) -
session
_ cache _ size= (1) -
session
_ cache _ stats (1) -
session
_ get _ cb (1) -
session
_ get _ cb= (1) -
session
_ id _ context (1) -
session
_ id _ context= (1) -
session
_ new _ cb (1) -
session
_ new _ cb= (1) -
session
_ remove (1) -
session
_ remove _ cb (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) -
ssl
_ timeout= (1) -
ssl
_ version= (1) -
strip
_ hashes (1) -
strip
_ newlines (1) -
strip
_ stars (1) -
sub
_ type (1) - subtype (1)
- target (1)
- text= (1)
- text? (1)
- textInput (1)
- textInput= (1)
-
text
_ field (2) - textarea (2)
- textinput (4)
- textinput= (2)
- texts (1)
- thread (1)
- time= (1)
- timeout (1)
- timeout= (1)
- title (4)
- title= (3)
-
tmp
_ dh _ callback (1) -
tmp
_ dh _ callback= (1) -
to
_ mailtext (1) -
to
_ rfc822text (1) -
to
_ s (3) -
to
_ text (10) - toplevel (1)
- trust= (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) -
use
_ tracer (1) -
use
_ tracer= (1) -
use
_ tracer? (1) - value (2)
- verbose (1)
- verbose= (1)
- verbose? (1)
- verify (2)
-
verify
_ callback (1) -
verify
_ callback= (1) -
verify
_ depth (1) -
verify
_ depth= (1) -
verify
_ mode (1) -
verify
_ mode= (1) - visibility (1)
- workspace (1)
- workspace= (1)
検索結果
先頭5件
-
Net
:: IMAP :: ResponseText # text -> String (72607.0) -
応答のテキストを文字列で返します。
応答のテキストを文字列で返します。 -
REXML
:: Element # text(path = nil) -> String | nil (64051.0) -
先頭のテキスト子ノードの文字列を返します。
先頭のテキスト子ノードの文字列を返します。
テキストノードを複数保持している場合は最初のノードにしか
アクセスできないことに注意してください。
raw モードの設定は無視され、常に正規化されたテキストを返します。
REXML::Text#value も参照してください。
path を渡した場合は、その XPath 文字列で指定される
テキストノードの文字列を返します。
テキストノードがない場合には nil を返します。
@param path XPath文字列
@see REXML::Element#get_text
//emlist[][ruby]{
require 'rexml... -
REXML
:: StreamListener # text(text) -> () (63628.0) -
XML文書内のテキストをパースしたときに呼び出されるコールバックメソッドです。
XML文書内のテキストをパースしたときに呼び出されるコールバックメソッドです。
@param text テキストが文字列で渡されます -
PrettyPrint
# text(obj , width = obj . length) -> () (63610.0) -
obj を width カラムのテキストとして自身に追加します。
obj を width カラムのテキストとして自身に追加します。
@param obj 自身に追加するテキストを文字列で指定します。
@param width obj のカラムを指定します。指定されなかった場合、obj.length が利用されます。 -
PrettyPrint
# text(obj) -> () (63310.0) -
obj を width カラムのテキストとして自身に追加します。
obj を width カラムのテキストとして自身に追加します。
@param obj 自身に追加するテキストを文字列で指定します。
@param width obj のカラムを指定します。指定されなかった場合、obj.length が利用されます。 -
IRB
:: ExtendCommandBundle # irb _ context -> IRB :: Context (55204.0) -
現在の irb に関する IRB::Context を返します。
現在の irb に関する IRB::Context を返します。 -
REXML
:: Element # each _ element _ with _ text(text = nil , max = 0 , name = nil) {|element| . . . } -> () (46336.0) -
テキストを子ノードとして 持つすべての子要素を引数としてブロックを呼び出します。
テキストを子ノードとして
持つすべての子要素を引数としてブロックを呼び出します。
text を指定すると、テキストの内容が text であるもののみを対象とします。
maxを指定すると、対象となる子要素の先頭 max 個のみが対象となります。
name を指定すると、それは xpath 文字列と見なされ、
それにマッチするもののみが対象となります。
max に 0 を指定すると、max の指定は無視されます(0個ではありません)。
@param text テキストの中身(文字列)
@param max ブロック呼出の対象とする子要素の最大個数
@param name xpath文字列
... -
IRB
:: ExtendCommand :: Nop # irb _ context -> IRB :: Context (46204.0) -
irb の現在の設定(IRB::Context)を返します。
irb の現在の設定(IRB::Context)を返します。 -
RDoc
:: Text # strip _ newlines(text) -> String (45925.0) -
引数から先頭と末尾の改行を削除します。
引数から先頭と末尾の改行を削除します。
@param text 文字列を指定します。 -
OpenSSL
:: SSL :: SSLContext # session _ id _ context=(id _ context) (45904.0) -
セッション ID コンテキストを文字列で設定します。
セッション ID コンテキストを文字列で設定します。
セッション ID コンテキストは、セッションをグループ化するための
識別子で、セッション ID コンテキストとセッション ID の両方が
一致する場合に同一のセッションであると判別されます。
この OpenSSL::SSL::SSLContext オブジェクトで
生成されたコネクション(OpenSSL::SSL::SSLSocket)に
関連付けられたセッションはセッション ID コンテキスト
を共有します。
セッション ID コンテキストはセッションのグループを
識別するための識別子であり、一方セッション ID は各セッションを
識別... -
REXML
:: Element # context -> {Symbol => object} | nil (45676.0) -
要素の「コンテキスト」を Hash で返します。
要素の「コンテキスト」を Hash で返します。
コンテキストとは text node (REXML::Text) での特別な文字、特に空白について
の取り扱いについての設定です。
以下の Symbol をハッシュのキーとして使います。
: :respect_whitespace
空白を考慮して欲しい要素の名前の集合を文字列の配列で指定します。
また、すべての要素で空白を考慮して欲しい場合には
:all を指定します。
デフォルト値は :all です。
REXML::Element#whitespace も参照してください。
: :compress_whitespac... -
REXML
:: Element # context=(value) (45676.0) -
要素の「コンテキスト」を Hash で設定します。
要素の「コンテキスト」を Hash で設定します。
コンテキストとは、 text node (REXML::Text) での特別な文字、特に空白について
の取り扱いについての設定です。
以下の Symbol をハッシュのキーとして使います。
: :respect_whitespace
空白を考慮して欲しい要素の名前の集合を文字列の配列で指定します。
また、すべての要素で空白を考慮して欲しい場合には
:all を指定します。
デフォルト値は :all です。
REXML::Element#whitespace も参照してください。
: :compress_whitesp... -
OpenSSL
:: SSL :: SSLContext # session _ id _ context -> String | nil (45604.0) -
セッション ID コンテキスト文字列を返します。
セッション ID コンテキスト文字列を返します。
設定されていない場合は nil を返します。
@see OpenSSL::SSL::Session,
OpenSSL::SSL::SSLContext#session_id_context= -
Psych
:: SyntaxError # context -> String (45604.0) -
エラーが生じたコンテキストを文字列で返します。
エラーが生じたコンテキストを文字列で返します。 -
REXML
:: ParseException # context -> [Integer , Integer , Integer] (37504.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 (37204.0) -
SSLSocket オブジェクトを生成する時に渡されたコンテクストを返します。
SSLSocket オブジェクトを生成する時に渡されたコンテクストを返します。
@see OpenSSL::SSL::SSLSocket.new -
WEBrick
:: GenericServer # ssl _ context -> OpenSSL :: SSL :: SSLContext | nil (37204.0) -
サーバが保持する OpenSSL::SSL::SSLContext オブジェクトを返します。
サーバが保持する OpenSSL::SSL::SSLContext オブジェクトを返します。 -
RDoc
:: Context # current _ section -> RDoc :: Context :: Section (36904.0) -
現在の section を返します。
現在の section を返します。 -
RDoc
:: Context :: Section # parent -> RDoc :: Context (36904.0) -
自身が所属する RDoc::Context オブジェクトを返します。
自身が所属する RDoc::Context オブジェクトを返します。 -
WIN32OLE
_ METHOD # helpcontext -> Integer | nil (36904.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 (36904.0) -
この型に関連するヘルプファイルのトピックID(ヘルプコンテキスト)を取得 します。
この型に関連するヘルプファイルのトピックID(ヘルプコンテキスト)を取得
します。
@return 型に関連するヘルプコンテキストを整数で返します。ヘルプコンテキ
ストが登録されていない場合はnilを返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
puts tobj.helpcontext # => 131185 -
Net
:: IMAP :: BodyTypeText # content _ id -> String | nil (36604.0) -
Content-ID の値を文字列で返します。
Content-ID の値を文字列で返します。
@see 2045 -
OpenSSL
:: SSL :: SSLContext # options=(options) (36604.0) -
オプションを設定します。
オプションを設定します。
以下の値の OR で指定します。
* OpenSSL::SSL::OP_ALL
* OpenSSL::SSL::OP_CIPHER_SERVER_PREFERENCE
* OpenSSL::SSL::OP_EPHEMERAL_RSA
* OpenSSL::SSL::OP_NETSCAPE_CA_DN_BUG
* OpenSSL::SSL::OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG
* OpenSSL::SSL::OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
* OpenSS... -
RDoc
:: Context # add _ constant(const) -> () (36604.0) -
引数で指定した RDoc::Constant オブジェクトを追加します。
引数で指定した RDoc::Constant オブジェクトを追加します。
@param const RDoc::Constant オブジェクトを指定します。 -
RDoc
:: Context # constants -> [RDoc :: Constant] (36604.0) -
追加された RDoc::Constant の配列を返します。
追加された RDoc::Constant の配列を返します。 -
RDoc
:: Context # each _ constant {|c| . . . } -> [RDoc :: Constant] (36604.0) -
追加された RDoc::Constant に対してブロックを評価します。
追加された RDoc::Constant に対してブロックを評価します。 -
RDoc
:: Context # ongoing _ visibility=(vis) (36604.0) -
Change the default visibility for new methods
Change the default visibility for new methods -
RDoc
:: Context # set _ current _ section(title , comment) -> () (36604.0) -
Handle sections
Handle sections -
RDoc
:: Context :: Section # set _ comment(comment) -> () (36604.0) -
自身にコメントを設定します。
自身にコメントを設定します。
@param comment 文字列を指定します。
comment の最初の行に :section: を含んでいた場合、その行以降の文字列をコ
メントとして設定します。そうでない場合は comment すべてをコメントとして
設定します。
# ---------------------
# :section: The title
# The body
# --------------------- -
REXML
:: DocType # context -> { Symbol => object } (36604.0) -
DTD が属する文書の「コンテキスト」を返します。
DTD が属する文書の「コンテキスト」を返します。
具体的には親ノードである REXML::Document オブジェクトの
REXML::Element#context を返します。
コンテキストの具体的な内容については REXML::Element#context を
参照してください。 -
RSS
:: Maker :: RSSBase # textinput (36604.0) -
@todo textinput要素を生成するオブジェクトを返します.
@todo
textinput要素を生成するオブジェクトを返します. -
RSS
:: RDF # textinput (36604.0) -
@todo
@todo -
RSS
:: RDF # textinput= (36604.0) -
@todo
@todo -
RSS
:: RDF :: Channel # textinput (36604.0) -
@todo
@todo -
RSS
:: RDF :: Channel # textinput= (36604.0) -
@todo
@todo -
RSS
:: Rss # textinput (36604.0) -
@todo
@todo -
RSS
:: Rss :: Channel # textInput (36604.0) -
@todo
@todo -
RSS
:: Rss :: Channel # textInput= (36604.0) -
@todo
@todo -
IRB
:: Context # auto _ indent _ mode -> bool (36304.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
入力が次の行に継続した時に自動で字下げを行うかどうかを返します。
デフォルト値は false です。
@return 自動で字下げを行う場合は true を返します。行わない場合は false
を返します。
@see IRB::Context#auto_indent_mode= -
IRB
:: Context # auto _ indent _ mode=(val) (36304.0) -
入力が次の行に継続した時に自動で字下げを行うかどうかを val に設定します。
入力が次の行に継続した時に自動で字下げを行うかどうかを val に設定します。
@param val true を指定した場合、自動で字下げを行います。false を指定し
た場合は自動で字下げを行いません。
IRB::Context#prompt_mode の変更に影響を受ける事に注意してください。
@see IRB::Context#auto_indent_mode -
IRB
:: Context # ignore _ sigint -> bool (36304.0) -
Ctrl-C が入力された時に irb を終了するかどうかを返します。
Ctrl-C が入力された時に irb を終了するかどうかを返します。
false の時は irb を終了します。true の時は以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を中止する.
デフォルト値は true です。
@see IRB::Context#ignore_sigint= -
IRB
:: Context # ignore _ sigint=(val) (36304.0) -
Ctrl-C が入力された時に irb を終了するかどうかを val に設定します。
Ctrl-C が入力された時に irb を終了するかどうかを val に設定します。
.irbrc ファイル中で IRB.conf[:IGNORE_SIGINT] を設定する事でも同様の操作
が行えます。
@param val false を指定した場合、Ctrl-C の入力時に irb を終了します。
true を指定した場合、Ctrl-C の入力時に以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を中止する.
@see IRB::Context#ignore_sigint -
IRB
:: Context # ignore _ sigint? -> bool (36304.0) -
Ctrl-C が入力された時に irb を終了するかどうかを返します。
Ctrl-C が入力された時に irb を終了するかどうかを返します。
false の時は irb を終了します。true の時は以下のように動作します。
: 入力中
これまで入力したものをキャンセルしトップレベルに戻る.
: 実行中
実行を中止する.
デフォルト値は true です。
@see IRB::Context#ignore_sigint= -
Net
:: IMAP :: BodyTypeText # lines -> Integer (36304.0) -
ボディの行数を返します。
ボディの行数を返します。 -
OpenSSL
:: SSL :: SSLContext # flush _ sessions(time=nil) -> self (36304.0) -
自身が保持しているセッションキャッシュを破棄します。
自身が保持しているセッションキャッシュを破棄します。
time に nil を渡すと現在時刻で期限切れになっている
キャッシュを破棄します。
time に Time オブジェクトを渡すと、その
時刻で時間切れになるキャッシュを破棄します。
@param time キャッシュ破棄の基準時刻
@see OpenSSL::SSL::SSLContext#session_cache_mode= -
OpenSSL
:: SSL :: SSLContext # options -> Integer | nil (36304.0) -
設定されているオプションフラグを返します。
設定されているオプションフラグを返します。
@see OpenSSL::SSL::SSLContext#options= -
RDoc
:: Context :: Section # comment -> String | nil (36304.0) -
section のコメントを返します。
section のコメントを返します。 -
REXML
:: Element # get _ text(path = nil) -> REXML :: Text | nil (28354.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 ... -
Net
:: IMAP :: BodyTypeText # language -> String | [String] | nil (27904.0) -
1766 で定義されているボディ言語を表わす 文字列もしくは文字列の配列を返します。
1766 で定義されているボディ言語を表わす
文字列もしくは文字列の配列を返します。 -
REXML
:: Element # text=(text) (27874.0) -
「先頭の」テキストノードを text で置き換えます。
「先頭の」テキストノードを text で置き換えます。
テキストノードを1つ以上保持している場合はそのうち
最初のノードを置き換えます。
要素がテキストノードを保持していない場合は新たなテキストノードが追加されます。
text には文字列、REXML::Text、nil のいずれかが指定できます。
REXML::Text オブジェクトを指定した場合には、それが設定され、
文字列を指定した場合には
REXML::Text.new(text, whitespace(), nil, raw())
で生成される Text オブジェクトが設定されます。
nil を指定すると最初のテキストノードが削... -
CGI
:: HtmlExtension # text _ field(name = "" , value = nil , size = 40 , maxlength = nil) -> String (27811.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 (27721.0) -
タイプが text である input 要素を生成します。
タイプが text である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
text_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="text" NAME="name" VALUE="value"> -
RDoc
:: Text # normalize _ comment(text) -> String (27697.0) -
引数から行頭のスペースや改行文字などを削除します。
引数から行頭のスペースや改行文字などを削除します。
詳しくは [SEE ALSO] の各メソッドを参照してください。
@param text 文字列を指定します。
@see RDoc::Text#strip_hashes, RDoc::Text#expand_tabs,
RDoc::Text#flush_left, RDoc::Text#strip_newlines -
Net
:: HTTPHeader # content _ type -> String|nil (27652.0) -
"text/html" のような Content-Type を表す 文字列を返します。
"text/html" のような Content-Type を表す
文字列を返します。
Content-Type: ヘッダフィールドが存在しない場合には nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/comments.cgi?post=comment')
req = Net::HTTP::Post.new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/for... -
REXML
:: Instruction # content -> String | nil (27640.0) -
XML 処理命令の内容を返します。
XML 処理命令の内容を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<?foobar?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content... -
RDoc
:: Text # expand _ tabs(text) -> String (27625.0) -
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな るように置き換えます。
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな
るように置き換えます。
@param text 文字列を指定します。 -
OpenURI
:: Meta # content _ type -> String (27622.0) -
対象となるリソースの Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。 Content-Type ヘッダがない場合は、"application/octet-stream" を返します。
対象となるリソースの Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。
Content-Type ヘッダがない場合は、"application/octet-stream" を返します。
//emlist[例][ruby]{
require 'open-uri'
open('http://www.ruby-lang.org/') {|f|
p f.content_type #=> "text/html"
}
//} -
WEBrick
:: HTTPResponse # content _ type=(val) (27622.0) -
Content-Type ヘッダの値をセットします。
Content-Type ヘッダの値をセットします。
@param val Content-Type ヘッダの値を文字列で指定します。
res.content_type = "text/html"
@see WEBrick::HTTPUtils.#mime_type -
Gem
:: Installer # app _ script _ text -> String (27607.0) -
アプリケーションのための実行ファイルの雛形のテキストを返します。
アプリケーションのための実行ファイルの雛形のテキストを返します。 -
OpenSSL
:: Netscape :: SPKI # to _ text -> String (27607.0) -
SPKI オブジェクトを人間が読める形式の文字列に変換します。
SPKI オブジェクトを人間が読める形式の文字列に変換します。 -
OpenSSL
:: PKey :: DH # to _ text -> String (27607.0) -
鍵パラメータを人間が読める形式に変換します。
鍵パラメータを人間が読める形式に変換します。
鍵対の値は出力されません。 -
OpenSSL
:: PKey :: DSA # to _ text -> String (27607.0) -
鍵を人間が読める形式に変換します。
鍵を人間が読める形式に変換します。 -
OpenSSL
:: PKey :: EC # to _ text -> String (27607.0) -
鍵を人間が読める形式に変換します。
鍵を人間が読める形式に変換します。
@raise OpenSSL::PKey::ECError 文字列への変換に失敗した場合に発生します。
公開鍵が含まれていない場合や、鍵が妥当でない場合などに失敗します。 -
OpenSSL
:: PKey :: EC :: Group # to _ text -> String (27607.0) -
自身を人間に可読な形式の文字列に変換します。
自身を人間に可読な形式の文字列に変換します。
@raise OpenSSL::PKey::EC::Group::Error 変換に失敗した場合に発生します。 -
OpenSSL
:: PKey :: RSA # to _ text -> String (27607.0) -
鍵を人間が読める形式に変換します。
鍵を人間が読める形式に変換します。 -
OpenSSL
:: SSL :: Session # to _ text -> String (27607.0) -
自身を可読な形式に変換します。
自身を可読な形式に変換します。
@raise OpenSSL::SSL::Session::SessionError 変換に失敗した場合に発生します -
OpenSSL
:: X509 :: CRL # to _ text -> String (27607.0) -
人間が読める形式に変換します。
人間が読める形式に変換します。
@raise OpenSSL::X509::CRLError 変換に失敗した場合に発生します -
OpenSSL
:: X509 :: Certificate # to _ text -> String (27607.0) -
人間が読める形式の文字列を返します。
人間が読める形式の文字列を返します。 -
OpenSSL
:: X509 :: Request # to _ text -> String (27607.0) -
人間が読める形式の文字列に変換して返します。
人間が読める形式の文字列に変換して返します。
@raise OpenSSL::X509::RequestError 変換に失敗した場合に発生します -
REXML
:: Text # clone -> REXML :: Text (27607.0) -
self を複製します。
self を複製します。 -
CGI
:: HtmlExtension # textarea(attributes) -> String (27604.0) -
textarea 要素を生成します。
textarea 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
textarea("name", 40, 5)
# = textarea({ "NAME" => "name", "COLS" => 40, "ROWS" => 5 }) -
CGI
:: HtmlExtension # textarea(name = "" , cols = 70 , rows = 10) -> String (27604.0) -
textarea 要素を生成します。
textarea 要素を生成します。
@param name name 属性の値を指定します。
@param cols cols 属性の値を指定します。
@param rows rows 属性の値を指定します。
例:
textarea("name")
# = textarea({ "NAME" => "name", "COLS" => 70, "ROWS" => 10 }) -
Net
:: FTP # gettextfile(remotefile , localfile = File . basename(remotefile)) -> nil (27604.0) -
サーバ上のファイルをテキストモードで取得します。
サーバ上のファイルをテキストモードで取得します。
サーバー上にある remotefile という名前のファイルを取得し、
ローカルの localfile という名前のファイルに保存します。
localfile が nil である場合には保存はしません。
ブロックが指定された場合は
データを1行受信するごとに、その行をブロックに渡します。
@param remotefile 取得対象のリモートのファイル名を与えます。
@param localfile 取得したデータを格納するローカルのファイル名を与えます。
@raise Net::FTPTempError 応答コードが 4yz の... -
Net
:: FTP # gettextfile(remotefile , localfile = File . basename(remotefile)) {|line| . . . } -> nil (27604.0) -
サーバ上のファイルをテキストモードで取得します。
サーバ上のファイルをテキストモードで取得します。
サーバー上にある remotefile という名前のファイルを取得し、
ローカルの localfile という名前のファイルに保存します。
localfile が nil である場合には保存はしません。
ブロックが指定された場合は
データを1行受信するごとに、その行をブロックに渡します。
@param remotefile 取得対象のリモートのファイル名を与えます。
@param localfile 取得したデータを格納するローカルのファイル名を与えます。
@raise Net::FTPTempError 応答コードが 4yz の... -
Net
:: FTP # puttextfile(localfile , remotefile = File . basename(localfile)) -> nil (27604.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 (27604.0) -
サーバにファイルをテキストモードで転送します。
サーバにファイルをテキストモードで転送します。
ローカルの localfile という名前のファイルを読みだし、
サーバー上の remotefile という名前のファイルに保存します。
ブロックが指定された場合は
データを1行転送するごとに、その行を
ブロックに渡します。
@param localfile 転送するローカルのファイル名を与えます。
@param remotefile 転送データを保存するリモートのファイル名を与えます。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コー... -
Net
:: IMAP :: BodyTypeText # disposition -> Net :: IMAP :: ContentDisposition | nil (27604.0) -
Content-Dispotition の値を返します。
Content-Dispotition の値を返します。
Net::IMAP::ContentDisposition オブジェクトを返します。
@see 1806, 2183 -
OpenSSL
:: X509 :: StoreContext # error _ string -> String (27604.0) -
検証したときのエラー文字列を返します。
検証したときのエラー文字列を返します。
OpenSSL::X509::StoreContext#verify を呼びだし、
証明書チェインの各証明書を検証した
コールバック(OpenSSL::X509::Store#verify_callback=)が呼び出され、
StoreContext オブジェクトが渡されますが、このメソッドを呼ぶと
直前の証明書検証結果のエラー文字列が得られます。
OpenSSL::X509::StoreContext#verify を呼び出したあと、
このメソッドを呼ぶと検証の最終的な検証結果のエラー文字列を返します。
検証に成功した場合は "ok" を返します... -
RDoc
:: Context # add _ include(an _ include) -> () (27604.0) -
引数で指定した RDoc::Include オブジェクトを追加します。
引数で指定した RDoc::Include オブジェクトを追加します。
@param an_include RDoc::Include オブジェクトを指定します。 -
RDoc
:: Context # includes -> [RDoc :: Include] (27604.0) -
追加された RDoc::Include の配列を返します。
追加された RDoc::Include の配列を返します。 -
RDoc
:: Context # sections -> RDoc :: Context :: Section (27604.0) -
追加された RDoc::Context::Section の配列を返します。
追加された RDoc::Context::Section の配列を返します。 -
REXML
:: Element # texts -> [REXML :: Texts] (27604.0) -
すべてのテキスト子ノードの配列を返します。
すべてのテキスト子ノードの配列を返します。
返される配列は freeze されます。 -
REXML
:: Text # node _ type -> Symbol (27352.0) -
Symbol :text を返します。
Symbol :text を返します。 -
IRB
:: Context # prompt _ n -> String (27325.0) -
継続行のプロンプトを表現するフォーマット文字列を返します。
継続行のプロンプトを表現するフォーマット文字列を返します。
@see IRB::Context#prompt_n=, lib:irb#customize_prompt -
IRB
:: Context # prompt _ n=(val) (27325.0) -
継続行のプロンプトを表現するフォーマット文字列を val に設定します。
継続行のプロンプトを表現するフォーマット文字列を val に設定します。
IRB::Context#prompt_mode の変更に影響を受ける事に注意してください。
@see IRB::Context#prompt_mode, IRB::Context#prompt_mode=,
IRB::Context#prompt_n, lib:irb#customize_prompt -
REXML
:: Element # has _ elements? -> bool (27322.0) -
self が一つでも子要素を持つならば true を返します。
self が一つでも子要素を持つならば true を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a><b/><c>Text</c></a>")
doc.root.has_elements? # => true
doc.elements["/a/b"].has_elements? # => false
# /a/c はテキストノードしか持たないので false である
doc.elements["/a/c"].has_elements? # => f... -
REXML
:: Element # next _ element -> Element | nil (27322.0) -
次の兄弟要素を返します。
次の兄弟要素を返します。
次の要素が存在しない場合は nil を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new '<a><b/>text<c/></a>'
doc.root.elements['b'].next_element # => <c/>
doc.root.elements['c'].next_element # => nil
//} -
REXML
:: Element # has _ text? -> bool (27307.0) -
要素がテキストノードを子ノードとして持つ場合に true を返します。
要素がテキストノードを子ノードとして持つ場合に true を返します。 -
REXML
:: Parsers :: PullEvent # text? -> bool (27307.0) -
テキストノードなら真を返します。
テキストノードなら真を返します。 -
IRB
:: Context # _ _ inspect _ _ -> String (27304.0) -
自身を文字列表現にしたオブジェクトを返します。
自身を文字列表現にしたオブジェクトを返します。 -
IRB
:: Context # ap _ name -> String (27304.0) -
自身のアプリケーション名を返します。
自身のアプリケーション名を返します。
デフォルト値は "irb" です。
@see IRB::Context#ap_name= -
IRB
:: Context # ap _ name=(val) (27304.0) -
自身のアプリケーション名を val に設定します。
自身のアプリケーション名を val に設定します。
.irbrc ファイル中で IRB.conf[:AP_NAME] を設定する事でも同様の操作が行え
ます。
@param val アプリケーション名を String で指定します。
@see IRB::Context#ap_name -
IRB
:: Context # file _ input? -> bool (27304.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
IRB
:: Context # ignore _ eof -> bool (27304.0) -
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
true の時は Ctrl-D を無視します。false の時は irb を終了します。
デフォルト値は false です。
@see IRB::Context#ignore_eof= -
IRB
:: Context # ignore _ eof=(val) (27304.0) -
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを val に設定します。
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを val に設定します。
.irbrc ファイル中で IRB.conf[:IGNORE_EOF] を設定する事でも同様の操作が
行えます。
@param val true を指定した場合、 Ctrl-D を無視します。false を指定した
場合は Ctrl-D の入力時に irb を終了します。
@see IRB::Context#ignore_eof -
IRB
:: Context # ignore _ eof? -> bool (27304.0) -
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
true の時は Ctrl-D を無視します。false の時は irb を終了します。
デフォルト値は false です。
@see IRB::Context#ignore_eof= -
IRB
:: Context # init _ save _ history -> () (27304.0) -
自身の持つ IRB::InputMethod オブジェクトが irb のヒストリを扱える ようにします。
自身の持つ IRB::InputMethod オブジェクトが irb のヒストリを扱える
ようにします。
@see IRB::HistorySavingAbility.extended -
IRB
:: Context # inspect -> String (27304.0) -
自身を人間に読みやすい文字列にして返します。
自身を人間に読みやすい文字列にして返します。 -
IRB
:: Context # inspect? -> bool (27304.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 (27304.0) -
実行結果の出力方式を返します。
実行結果の出力方式を返します。
@see IRB::Context#inspect_mode=