るりまサーチ

最速Rubyリファレンスマニュアル検索!
834件ヒット [1-100件を表示] (0.144秒)

別のキーワード

  1. _builtin to_s
  2. openssl to_der
  3. openssl to_s
  4. _builtin to_a
  5. openssl to_pem

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

Process::Status#to_s -> String (21118.0)

to_i.to_s と同じです。

...to_i.to_s と同じです。...

Gem::Requirement#to_s -> String (21108.0)

条件を表す文字列を返します。

...条件を表す文字列を返します。

//emlist[][ruby]{
req = Gem::Requirement.new(["< 5.0", ">= 1.9"])
p req.to_s # => "< 5.0, >= 1.9"
//}...

TrueClass#to_s -> String (21108.0)

常に文字列 "true" を返します。

...常に文字列 "true" を返します。

//emlist[例][ruby]{
true.to_s # => "true"
//}...

URI::Generic#to_s -> String (21108.0)

自身が表す URI を文字列として返します。

...自身が表す URI を文字列として返します。

例:
require 'uri'
p URI.parse('http://example.com/').to_s #=> "http://example.com/"...

UncaughtThrowError#to_s -> String (21108.0)

self を tag を含む文字列表現にして返します。

...self を tag を含む文字列表現にして返します。

//emlist[例][ruby]{
def do_complicated_things
throw :uncaught_label
end

begin
do_complicated_things
rescue UncaughtThrowError => ex
p ex.to_s # => "uncaught throw :uncaught_label"
end
//}...

絞り込み条件を変える

REXML::Attribute#to_s -> String (21102.0)

正規化された属性値を返します。

正規化された属性値を返します。

属性値の正規化については XML の仕様を参考にしてください。

UnboundMethod#to_s -> String (21102.0)

self を読みやすい文字列として返します。

...self を読みやすい文字列として返します。

詳しくは Method#inspect を参照してください。

//emlist[例][ruby]{
String.instance_method(:count).inspect # => "#<UnboundMethod: String#count>"
//}

@see Method#inspect...

WEBrick::HTTPRequest#to_s -> String (21102.0)

リクエストのヘッダとボディをまとめて文字列として返します。

リクエストのヘッダとボディをまとめて文字列として返します。

WEBrick::HTTPUtils::FormData#to_s -> String (21102.0)

自身が表すフォームデータのうちのひとつを文字列として返します。

自身が表すフォームデータのうちのひとつを文字列として返します。

Fixnum#to_s(base = 10) -> String (18138.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"...

絞り込み条件を変える

<< 1 2 3 ... > >>