194件ヒット
[1-100件を表示]
(0.096秒)
種類
- インスタンスメソッド (89)
- 特異メソッド (61)
- 定数 (33)
- モジュール (11)
クラス
- Bignum (6)
- Fixnum (6)
- Integer (22)
-
OpenSSL
:: BN (22) -
OpenSSL
:: SSL :: SSLContext (11) -
RubyVM
:: InstructionSequence (22) - Tempfile (50)
モジュール
-
CGI
:: HtmlExtension (11) - Etc (33)
キーワード
- Constants (11)
-
SC
_ SEM _ NSEMS _ MAX (11) -
SC
_ THREAD _ DESTRUCTOR _ ITERATIONS (11) -
SC
_ THREAD _ SAFE _ FUNCTIONS (11) -
base
_ label (11) -
ca
_ file= (11) - create (20)
- inspect (17)
- label (11)
- new (21)
- open (20)
-
to
_ s (28)
検索結果
先頭5件
-
CGI
:: HtmlExtension # base(href = "") -> String (24229.0) -
base 要素を生成します。
...
base 要素を生成します。
@param href 文字列を指定します。属性をハッシュで指定することもできます。
例:
base("http://www.example.com/cgi")
# => "<BASE HREF=\"http://www.example.com/cgi\">"... -
Integer
# inspect(base=10) -> String (15414.0) -
整数を 10 進文字列表現に変換します。
...現に変換します。
//emlist[][ruby]{
p 10.to_s(2) # => "1010"
p 10.to_s(8) # => "12"
p 10.to_s(16) # => "a"
p 35.to_s(36) # => "z"
//}
@return 数値の文字列表現
@param base 基数となる 2 - 36 の数値。
@raise ArgumentError base に 2 - 36 以外の数値を指定... -
RubyVM
:: InstructionSequence # base _ label -> String (15219.0) -
self が表す命令シーケンスの基本ラベルを返します。
...ラベルを返します。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.base_label
# => "<compiled>"
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/me......end
# irb
> iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.base_label # => "<main>"
例3:
# /tmp/method2.rb
def hello
puts "hello, world"
end
RubyVM::InstructionSequence.of(method(:hello)).base_label
# => "hello"
@see RubyVM::InstructionSequence#l... -
Bignum
# inspect(base = 10) -> String (12408.0) -
self を引数で指定した基数の文字列表現に変換します。
...self を引数で指定した基数の文字列表現に変換します。
@param base 基数を 2 から 36 の整数で指定します。
12345654321.to_s #=> "12345654321"
12345654321.to_s(2) #=> "1011011111110110111011110000110001"
12345654321.to_s(8) #=> "133766736... -
Fixnum
# inspect(base = 10) -> String (12408.0) -
self を引数で指定した基数の文字列表現に変換します。
...列表現に変換します。
@param base 基数を 2 から 36 の整数で指定します。
12345.to_s #=> "12345"
12345.to_s(2) #=> "11000000111001"
12345.to_s(8) #=> "30071"
12345.to_s(10) #=> "12345"
12345.to_s(16) #=> "3039"
12345.to_s(36) #=> "9ix"... -
Integer
# to _ s(base=10) -> String (9214.0) -
整数を 10 進文字列表現に変換します。
...現に変換します。
//emlist[][ruby]{
p 10.to_s(2) # => "1010"
p 10.to_s(8) # => "12"
p 10.to_s(16) # => "a"
p 35.to_s(36) # => "z"
//}
@return 数値の文字列表現
@param base 基数となる 2 - 36 の数値。
@raise ArgumentError base に 2 - 36 以外の数値を指定... -
OpenSSL
:: SSL :: SSLContext # ca _ file=(ca) (9112.0) -
接続相手の検証のために使う、信頼している CA 証明書ファイルのパスを 設定します。
...の説明)
-----BEGIN CERTIFICATE-----
... (CA certificate in base64 encoding) ...
-----END CERTIFICATE-----
(ここに証明書の説明)
-----BEGIN CERTIFICATE-----
... (CA certificate in base64 encoding) ...
-----END CERTIFICATE-----
デフォルトは nil です。
@param ca C......A証明書ファイルのパス文字列
@see OpenSSL::SSL::SSLContext#ca_file=... -
RubyVM
:: InstructionSequence # label -> String (9106.0) -
self が表す命令シーケンスのラベルを返します。通常、メソッド名、クラス名、 モジュール名などで構成されます。
..."<main>" を返します。self を文字列から作成していた場合
は "<compiled>" を返します。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.label
# => "<compiled>"......例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "hello, world"
end
# irb
> iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.label # => "<main>"
例3:
# /tmp/method2.rb
def hello
puts "hello, worl......d"
end
RubyVM::InstructionSequence.of(method(:hello)).label
# => "hello"
@see RubyVM::InstructionSequence#base_label... -
Win32
:: Registry :: Constants (9006.0) -
詳細は以下の MSDN Library を参照してください。
...詳細は以下の MSDN Library を参照してください。
* Registry: http://msdn.microsoft.com/library/en-us/sysinfo/base/registry.asp... -
Bignum
# to _ s(base = 10) -> String (6208.0) -
self を引数で指定した基数の文字列表現に変換します。
...self を引数で指定した基数の文字列表現に変換します。
@param base 基数を 2 から 36 の整数で指定します。
12345654321.to_s #=> "12345654321"
12345654321.to_s(2) #=> "1011011111110110111011110000110001"
12345654321.to_s(8) #=> "133766736... -
Fixnum
# to _ s(base = 10) -> String (6208.0) -
self を引数で指定した基数の文字列表現に変換します。
...列表現に変換します。
@param base 基数を 2 から 36 の整数で指定します。
12345.to_s #=> "12345"
12345.to_s(2) #=> "11000000111001"
12345.to_s(8) #=> "30071"
12345.to_s(10) #=> "12345"
12345.to_s(16) #=> "3039"
12345.to_s(36) #=> "9ix"... -
Etc
:: SC _ THREAD _ DESTRUCTOR _ ITERATIONS -> Integer (6202.0) -
Etc.#sysconf の引数に指定します。
Etc.#sysconf の引数に指定します。
詳細は sysconf(3) を参照してください。