別のキーワード
ライブラリ
- ビルトイン (36)
-
cgi
/ html (24) -
irb
/ context (180) -
irb
/ ext / save-history (12) -
net
/ http (12) -
net
/ imap (120) - openssl (24)
-
rdoc
/ markup (12) -
rdoc
/ text (12) -
rexml
/ document (12) -
webrick
/ httprequest (12) -
webrick
/ httputils (12)
クラス
-
IRB
:: Context (192) -
Net
:: IMAP :: BodyTypeText (108) -
Net
:: IMAP :: FetchData (12) -
OpenSSL
:: PKCS7 (12) -
OpenSSL
:: X509 :: StoreContext (12) -
RDoc
:: Markup (12) -
REXML
:: Element (12) - String (36)
-
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPUtils :: FormData (12)
モジュール
-
CGI
:: HtmlExtension (24) -
Net
:: HTTPHeader (12) -
RDoc
:: Text (12)
キーワード
- [] (12)
-
_ _ inspect _ _ (12) -
_ _ to _ s _ _ (12) -
add
_ special (12) -
ap
_ name (12) -
ap
_ name= (12) - attr (12)
-
content
_ id (12) - description (12)
- encode (36)
- encoding (12)
-
history
_ file (12) - inspect (12)
-
irb
_ name (12) -
irb
_ name= (12) -
irb
_ path (12) - language (12)
-
load
_ modules (12) - md5 (12)
-
media
_ subtype (12) -
media
_ type (12) - param (12)
-
prompt
_ c (12) -
prompt
_ i (12) -
prompt
_ n (12) -
prompt
_ s (12) - query (12)
-
return
_ format (12) -
sub
_ type (12) - subtype (12)
-
text
_ field (12) - textarea (12)
-
to
_ s (12) - verify (24)
検索結果
先頭5件
-
REXML
:: Element # text(path = nil) -> String | nil (18263.0) -
先頭のテキスト子ノードの文字列を返します。
...EXML::Text#value も参照してください。
path を渡した場合は、その XPath 文字列で指定される
テキストノードの文字列を返します。
テキストノードがない場合には nil を返します。
@param path XPath文字列
@see REXML::Element#get_text
//em......list[][ruby]{
require 'rexml/document'
doc = REXML::Document.new "<p>some text <b>this is bold!</b> more text</p>"
# doc.root (<p> ... </p>) は2つのテキストノード("some text " と " more text"
# を持っているが、前者を返す
doc.root.text # => "some text "
//}... -
RDoc
:: Text # expand _ tabs(text) -> String (9309.0) -
引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな るように置き換えます。
...引数中のタブ(\t)を直前の連続するスペースと合計して 8 文字のスペースにな
るように置き換えます。
@param text 文字列を指定します。... -
Net
:: IMAP :: BodyTypeText # media _ subtype -> String (9203.0) -
MIME のメディアタイプのサブタイプを返します。 media_subtype は obsolete です。
...MIME のメディアタイプのサブタイプを返します。
media_subtype は obsolete です。
@see Net::IMAP::BodyTypeText#media_type... -
Net
:: IMAP :: BodyTypeText # subtype -> String (9203.0) -
MIME のメディアタイプのサブタイプを返します。 media_subtype は obsolete です。
...MIME のメディアタイプのサブタイプを返します。
media_subtype は obsolete です。
@see Net::IMAP::BodyTypeText#media_type... -
IRB
:: Context # irb _ name -> String (9202.0) -
起動しているコマンド名を文字列で返します。
...起動しているコマンド名を文字列で返します。
@see IRB::Context#irb_name=... -
IRB
:: Context # irb _ path -> String (9202.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
String
# encode(**options) -> String (9140.0) -
self を指定したエンコーディングに変換した文字列を作成して返します。引数 を2つ与えた場合、第二引数は変換元のエンコーディングを意味します。さもな くば self のエンコーディングが使われます。 無引数の場合は、Encoding.default_internal が nil でなければそれが変換先のエンコーディングになり、かつ :invalid => :replace と :undef => :replace が指定されたと見なされ、nil ならば変換は行われません。
...プション
: :invalid => nil
変換元のエンコーディングにおいて不正なバイトがあった場合に、例外 Encoding::InvalidByteSequenceError を投げます。(デフォルト)
: :invalid => :replace
変換元のエンコーディングにおいて不正なバイトがあ......き換えます。
: :replace => string
前述の :invalid => :replace や :undef => :replace で用いられる置換文字を指定します。デフォルトは Unicode 系のエンコーディングならば U+FFFD、それ以外では "?" です。
: :fallback => Hash | Proc | Method
未定......スエンコーディングで未定義の文字です。値は、変換先のエンコーディングでの変換後の文字です。
: :xml => :text
文字列を XML の CharData として適するように処理します。具体的には、'&'、'<'、'>'、をそれぞれ '&'、'<'、... -
String
# encode(encoding , **options) -> String (9140.0) -
self を指定したエンコーディングに変換した文字列を作成して返します。引数 を2つ与えた場合、第二引数は変換元のエンコーディングを意味します。さもな くば self のエンコーディングが使われます。 無引数の場合は、Encoding.default_internal が nil でなければそれが変換先のエンコーディングになり、かつ :invalid => :replace と :undef => :replace が指定されたと見なされ、nil ならば変換は行われません。
...プション
: :invalid => nil
変換元のエンコーディングにおいて不正なバイトがあった場合に、例外 Encoding::InvalidByteSequenceError を投げます。(デフォルト)
: :invalid => :replace
変換元のエンコーディングにおいて不正なバイトがあ......き換えます。
: :replace => string
前述の :invalid => :replace や :undef => :replace で用いられる置換文字を指定します。デフォルトは Unicode 系のエンコーディングならば U+FFFD、それ以外では "?" です。
: :fallback => Hash | Proc | Method
未定......スエンコーディングで未定義の文字です。値は、変換先のエンコーディングでの変換後の文字です。
: :xml => :text
文字列を XML の CharData として適するように処理します。具体的には、'&'、'<'、'>'、をそれぞれ '&'、'<'、... -
String
# encode(encoding , from _ encoding , **options) -> String (9140.0) -
self を指定したエンコーディングに変換した文字列を作成して返します。引数 を2つ与えた場合、第二引数は変換元のエンコーディングを意味します。さもな くば self のエンコーディングが使われます。 無引数の場合は、Encoding.default_internal が nil でなければそれが変換先のエンコーディングになり、かつ :invalid => :replace と :undef => :replace が指定されたと見なされ、nil ならば変換は行われません。
...プション
: :invalid => nil
変換元のエンコーディングにおいて不正なバイトがあった場合に、例外 Encoding::InvalidByteSequenceError を投げます。(デフォルト)
: :invalid => :replace
変換元のエンコーディングにおいて不正なバイトがあ......き換えます。
: :replace => string
前述の :invalid => :replace や :undef => :replace で用いられる置換文字を指定します。デフォルトは Unicode 系のエンコーディングならば U+FFFD、それ以外では "?" です。
: :fallback => Hash | Proc | Method
未定......スエンコーディングで未定義の文字です。値は、変換先のエンコーディングでの変換後の文字です。
: :xml => :text
文字列を XML の CharData として適するように処理します。具体的には、'&'、'<'、'>'、をそれぞれ '&'、'<'、...