401件ヒット
[401-401件を表示]
(0.579秒)
種類
ライブラリ
- English (23)
- ビルトイン (221)
- continuation (1)
- delegate (1)
- digest (1)
- e2mmap (3)
-
irb
/ cmd / load (1) -
irb
/ xmp (2) - json (2)
- mkmf (52)
- open-uri (6)
- open3 (2)
- openssl (2)
- pathname (2)
- pp (2)
- profiler (1)
- psych (2)
- pty (4)
- rake (3)
-
rubygems
/ custom _ require (1) - scanf (2)
- shell (2)
-
shell
/ command-processor (3) -
shell
/ filter (2) - socket (6)
- stringio (9)
- syslog (1)
- tempfile (5)
- timeout (2)
- tracer (1)
- un (6)
- win32ole (1)
- zlib (4)
クラス
-
ARGF
. class (4) - Array (4)
- BasicObject (2)
- Binding (1)
- Complex (2)
- Exception (2)
- File (3)
- IO (39)
-
IRB
:: ExtendCommand :: Load (1) - LoadError (1)
- Module (12)
- Object (14)
-
OpenSSL
:: BN (1) - Proc (2)
- Shell (2)
-
Shell
:: CommandProcessor (3) -
Shell
:: Filter (2) - Socket (3)
- String (7)
- StringIO (9)
- SystemExit (1)
- Tempfile (5)
- Thread (6)
- TracePoint (1)
- Tracer (1)
- UncaughtThrowError (2)
-
WIN32OLE
_ EVENT (1) - XMP (1)
-
Zlib
:: GzipWriter (4)
モジュール
- Exception2MessageMapper (3)
- FileTest (1)
- Kernel (205)
- Open3 (2)
-
OpenSSL
:: Buffering (1) - OpenURI (2)
-
OpenURI
:: OpenRead (2) - PTY (4)
- Process (8)
-
Socket
:: Constants (3) - Syslog (1)
- Timeout (1)
キーワード
-
$ ! (1) -
$ & (1) -
$ & # 39; (1) -
$ -F (1) -
$ -p (1) -
$ 1 (1) -
$ 10 (1) -
$ 11 (1) -
$ 2 (1) -
$ 3 (1) -
$ 4 (1) -
$ 5 (1) -
$ 6 (1) -
$ 7 (1) -
$ 8 (1) -
$ 9 (1) -
$ ; (1) -
$ > (1) -
$ ? (1) -
$ ARGV (1) -
$ CHILD _ STATUS (1) -
$ DEFAULT _ INPUT (1) -
$ DEFAULT _ OUTPUT (1) -
$ ERROR _ INFO (1) -
$ ERROR _ POSITION (1) -
$ FIELD _ SEPARATOR (1) -
$ FS (1) -
$ INPUT _ LINE _ NUMBER (1) -
$ LAST _ MATCH _ INFO (1) -
$ LAST _ PAREN _ MATCH (1) -
$ LAST _ READ _ LINE (1) -
$ LOAD _ PATH (1) -
$ MATCH (1) -
$ NR (1) -
$ OFS (1) -
$ OUTPUT _ FIELD _ SEPARATOR (1) -
$ OUTPUT _ RECORD _ SEPARATOR (1) -
$ PID (1) -
$ POSTMATCH (1) -
$ PREMATCH (1) -
$ PROCESS _ ID (1) -
$ PROGRAM _ NAME (1) -
$ RS (1) -
$ ` (1) -
$ stdin (1) -
$ stdout (1) -
$ topdir (1) -
$ ~ (1) - % (1)
-
AI
_ V4MAPPED _ CFG (2) - Array (1)
- Complex (3)
- Continuation (1)
- DATA (1)
- DelegateClass (1)
- Digest (1)
- Float (1)
- Integer (1)
- JSON (1)
- Pathname (2)
- Proc (1)
-
Profiler
_ _ (1) - Rubyの起動 (1)
-
SCRIPT
_ LINES _ _ (1) -
SO
_ ATTACH _ FILTER (2) -
SO
_ DETACH _ FILTER (2) - String (1)
- TracePoint (1)
- Win32ネイティブ版Rubyの互換性問題 (1)
- [] (3)
-
_ _ callee _ _ (1) -
_ _ method _ _ (1) - abort (2)
-
add
_ filter (1) -
add
_ trace _ func (1) - ancestors (1)
-
at
_ exit (1) - autoload (2)
- autoload? (1)
- bigdecimal (1)
- binding (1)
- binread (1)
- binwrite (1)
- caller (3)
-
caller
_ locations (2) - catch (2)
-
cc
_ command (1) -
check
_ signedness (2) -
check
_ sizeof (2) - chomp (1)
- chop (1)
- class (1)
-
class
_ eval (2) -
const
_ defined? (1) - constants (2)
-
convertible
_ int (2) - cp (1)
-
cpp
_ command (1) - create (2)
-
create
_ makefile (1) -
create
_ tmpsrc (1) -
def
_ exception (1) -
defined
_ class (1) -
depend
_ rules (1) - desc (1)
-
drb
/ extservm (1) -
egrep
_ cpp (2) - eval (3)
- exception (2)
- exec (4)
- execute (1)
- exit (2)
- exit! (1)
- fail (3)
-
find
_ executable (1) -
find
_ header (1) -
find
_ library (2) -
find
_ type (2) -
for
_ fd (1) - foreach (2)
- fork (2)
- format (1)
- freeze (1)
- getpty (2)
- gets (1)
-
global
_ variables (1) - gsub (3)
-
have
_ header (2) -
have
_ macro (2) -
have
_ struct _ member (2) -
have
_ type (2) - help (1)
- hex (1)
- httpd (1)
- identical? (1)
- import (1)
- include (1)
- inspect (1)
- install (1)
-
install
_ files (1) -
instance
_ eval (2) -
instance
_ variables (1) - irb (1)
-
irb
/ xmp (1) - j (1)
- kill (2)
- lambda (2)
- libpathflag (1)
-
link
_ command (1) - load (1)
-
local
_ variables (1) - log (1)
- loop (2)
- method (1)
- mkdir (1)
-
module
_ eval (2) - namespace (1)
- new (7)
- oct (1)
- open (14)
- open-uri (1)
-
open
_ uri (2) - p (1)
- path (1)
- popen (14)
- popen3 (2)
- pp (2)
-
pretty
_ print (2) - print (6)
- proc (2)
-
psych
_ y (1) -
public
_ instance _ method (1) - puts (5)
- raise (4)
-
rb
_ exec _ end _ proc (1) -
rb
_ load (1) - read (3)
- readlines (4)
- rect (1)
- rectangular (1)
-
remove
_ const (1) - reopen (5)
- require (1)
-
require
_ relative (1) - rmdir (1)
-
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 2 feature (1) -
ruby 1
. 8 . 4 feature (1) -
ruby 1
. 9 feature (1) -
run
_ config (1) - sample (4)
- scanf (2)
- select (2)
- send (2)
-
set
_ trace _ func (2) - spawn (7)
- sprintf (1)
- sprintf フォーマット (1)
- srand (2)
- status (1)
- sub (2)
- sysopen (1)
- system (4)
- tag (1)
- terminate (1)
- test (5)
- timeout (2)
-
to
_ a (1) -
to
_ ary (1) -
to
_ f (1) -
to
_ i (1) -
to
_ int (1) -
to
_ str (1) -
trace
_ var (3) - trap (2)
-
try
_ compile (2) -
try
_ constant (2) -
try
_ cpp (2) -
try
_ do (2) -
try
_ link (2) -
try
_ run (2) -
try
_ static _ assert (2) -
try
_ type (2) -
untrace
_ var (1) - value (1)
-
webrick
/ https (1) -
webrick
/ httpservlet (1) -
with
_ werror (2) - write (2)
- xmp (1)
- xpopen (2)
- xsystem (1)
- y (1)
- このマニュアルのヘルプ (1)
- クラス/メソッドの定義 (1)
- セキュリティモデル (1)
- 制御構造 (1)
- 変数と定数 (1)
- 手続きオブジェクトの挙動の詳細 (1)
- 環境変数 (1)
- 終了処理 (1)
検索結果
-
Object
# to _ str -> String (37.0) -
オブジェクトの String への暗黙の変換が必要なときに内部で呼ばれます。 デフォルトでは定義されていません。
オブジェクトの String への暗黙の変換が必要なときに内部で呼ばれます。
デフォルトでは定義されていません。
説明のためここに記載してありますが、
このメソッドは実際には Object クラスには定義されていません。
必要に応じてサブクラスで定義すべきものです。
このメソッドを定義する条件は、
* 文字列が使われるすべての場面で代置可能であるような、
* 文字列そのものとみなせるようなもの
という厳しいものになっています。
//emlist[][ruby]{
class Foo
def to_str
'Edition'
end
end
it = Foo.new...