258件ヒット
[1-100件を表示]
(0.025秒)
ライブラリ
- ビルトイン (72)
- date (24)
-
irb
/ inspector (12) - openssl (36)
- rake (24)
- readline (12)
-
rexml
/ document (24) -
shell
/ command-processor (6) - uri (48)
クラス
- DateTime (24)
- File (12)
-
IRB
:: Inspector (12) -
OpenSSL
:: BN (36) -
REXML
:: CData (12) -
REXML
:: Text (12) -
Rake
:: InvocationChain (24) - Range (12)
-
Shell
:: CommandProcessor (6) - Symbol (12)
-
URI
:: FTP (24) -
URI
:: LDAP (24)
オブジェクト
- ENV (12)
-
Readline
:: HISTORY (12) - main (24)
キーワード
-
add
_ delegate _ command _ to _ shell (6) -
all
_ symbols (12) - append (12)
- build (48)
-
def
_ inspector (12) - inspect (12)
- lchmod (12)
- new (84)
- parse (12)
- strptime (12)
検索結果
先頭5件
-
ENV
. to _ s -> String (18118.0) -
環境変数を文字列化します。 Hash#to_s と同じように動作します。
...環境変数を文字列化します。 Hash#to_s と同じように動作します。... -
Readline
:: HISTORY . to _ s -> "HISTORY" (18108.0) -
文字列"HISTORY"を返します。
...文字列"HISTORY"を返します。
例:
require 'readline'
Readline::HISTORY.to_s #=> "HISTORY"... -
main
. to _ s -> "main" (15102.0) -
"main" を返します。
"main" を返します。 -
Shell
:: CommandProcessor . add _ delegate _ command _ to _ shell(id) (6101.0) -
@todo
@todo
Shell 自体を初期化する時に呼び出されるメソッドです。
ユーザが使用することはありません。
@param id メソッド名を指定します。 -
REXML
:: Text . new(arg , respect _ whitespace = false , parent = nil , raw = nil , entity _ filter = nil , illegal = REXML :: Text :: NEEDS _ A _ SECOND _ CHECK) (37.0) -
テキストノードオブジェクトを生成します。
...EXML::Text.new("<&", false, nil, false).to_s # => "<&"
p REXML::Text.new("<&", false, nil, false).to_s # => "&lt;&amp;"
p REXML::Text.new("<&", false, nil, true).to_s # => "<&"
p REXML::Text.new("<&", false, nil, true).to_s # parse error
//}
//emlist[doctype が......= REXML::Document.new(<<EOS)
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE root [
<!ENTITY p "foobar publisher">
<!ENTITY % q "quzz">
]>
<root />
EOS
REXML::Text.new("&quzz", false, doc.root, false).to_s # => "&&q;"
REXML::Text.new("quzz", false, doc.root, true).to_s # => "quzz"
//}... -
File
. lchmod(mode , *filename) -> Integer (13.0) -
File.chmod と同様ですが、シンボリックリンクに関してリンクそのものの モードを変更します。
...生します。
//emlist[例][ruby]{
IO.write("testfile", "test")
File.symlink("testfile", "testlink")
File.lstat("testlink").ftype # => "link"
File.lchmod(0744, "testlink")
File.stat("testlink").mode.to_s(8) # => "100644"
File.lstat("testlink").mode.to_s(8) # => "120744"
//}... -
OpenSSL
:: BN . new(str , base=10) -> OpenSSL :: BN (13.0) -
文字列を多倍長整数オブジェクト(OpenSSL::BN)を生成します。
...を表す文字列
@param base 文字列から整数に変換するときの基数
@raise OpenSSL::BNError 変換に失敗した場合に発生します
反対に、OpenSSL::BN クラスのオブジェクトを文字列にするには、
OpenSSL::BN#to_s を用います。
@see OpenSSL::BN#to_s... -
REXML
:: CData . new(text , respect _ whitespace = true , parent = nil) -> REXML :: CData (13.0) -
text をテキストとして持つ CData オブジェクトを生成します。
...(REXML::CData.new("foo bar baz "))
doc.to_s # => "<root><![CDATA[foo bar baz ]]></root>\n"
doc = REXML::Document.new(<<EOS)
<root />
EOS
doc.root.add(REXML::CData.new("foo bar baz ", true))
doc.root.add(REXML::CData.new("foo bar baz ", false))
doc.to_s # => "<root><![CDATA[foo bar baz ]]... -
Rake
:: InvocationChain . new(task _ name , tail) (13.0) -
与えられたタスク名と一つ前の Rake::InvocationChain を用いて自身を初期化します。
...uby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
tail = Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
tail.to_s # => "TOP => task_a"
b = Rake::InvocationChain.new("task_b", tail)
b.to_s # => "TOP => task_a => task_b"
end
//}...