3500件ヒット
[3401-3500件を表示]
(0.032秒)
クラス
-
ARGF
. class (176) - Array (66)
- BasicObject (22)
- Binding (11)
- Complex (22)
- Enumerator (11)
- Exception (22)
- File (33)
- IO (429)
- LoadError (11)
- Method (11)
- Module (165)
- Object (176)
- Proc (18)
- Random (95)
- Rational (11)
- String (66)
- SystemExit (11)
- Thread (88)
-
Thread
:: Backtrace :: Location (11) - TracePoint (11)
- UnboundMethod (21)
- UncaughtThrowError (20)
キーワード
-
$ ! (11) -
$ " (11) -
$ $ (11) -
$ & (11) -
$ & # 39; (11) -
$ * (11) -
$ + (11) -
$ , (11) -
$ -0 (11) -
$ -F (11) -
$ -I (11) -
$ -K (11) -
$ -W (11) -
$ -a (11) -
$ -d (11) -
$ -i (11) -
$ -l (11) -
$ -p (11) -
$ -v (11) -
$ -w (11) -
$ . (11) -
$ / (11) -
$ 0 (11) -
$ 1 (11) -
$ 10 (11) -
$ 11 (11) -
$ 2 (11) -
$ 3 (11) -
$ 4 (11) -
$ 5 (11) -
$ 6 (11) -
$ 7 (11) -
$ 8 (11) -
$ 9 (11) -
$ : (11) -
$ ; (11) -
$ < (11) -
$ = (11) -
$ > (11) -
$ ? (11) -
$ @ (11) -
$ DEBUG (11) -
$ FILENAME (11) -
$ KCODE (11) -
$ LOADED _ FEATURES (11) -
$ LOAD _ PATH (11) -
$ PROGRAM _ NAME (11) -
$ SAFE (11) -
$ VERBOSE (11) -
$ \ (11) -
$ _ (11) -
$ ` (11) -
$ stderr (11) -
$ stdin (11) -
$ stdout (11) -
$ ~ (11) - % (11)
- ARGF (22)
- Array (11)
- BasicObject (11)
- Binding (11)
- Complex (33)
- DATA (11)
- DEFAULT (7)
- File (11)
- Float (11)
- Hash (11)
- Integer (11)
- Kernel (11)
- LoadError (11)
- Location (11)
- Proc (11)
- Rational (22)
- RuntimeError (11)
-
SCRIPT
_ LINES _ _ (11) - String (11)
- ThreadError (11)
- TracePoint (11)
- UncaughtThrowError (10)
-
_ _ callee _ _ (11) -
_ _ dir _ _ (11) -
_ _ method _ _ (11) - ` (11)
- abort (44)
-
add
_ trace _ func (11) -
alias
_ method (11) - ancestors (11)
-
at
_ exit (11) - autoload (22)
- autoload? (22)
-
backtrace
_ locations (22) -
bind
_ call (10) - binding (11)
- binread (11)
- binwrite (11)
-
block
_ given? (11) - caller (33)
-
caller
_ locations (22) - catch (22)
- chomp (11)
- chop (11)
- class (11)
-
class
_ eval (22) -
class
_ variables (11) -
const
_ defined? (11) - constants (22)
- convert (11)
-
defined
_ class (11) - eval (33)
- exception (22)
- exec (44)
- exit (33)
- exit! (22)
- fail (33)
-
for
_ fd (11) - foreach (22)
- fork (44)
- format (11)
- freeze (11)
- gets (44)
-
global
_ variables (11) - gsub (33)
- hex (11)
- identical? (11)
- include (11)
- inspect (11)
-
instance
_ eval (22) -
instance
_ variables (11) - iterator? (11)
- kill (22)
- lambda (17)
- load (11)
-
local
_ variables (11) - loop (22)
- method (11)
-
module
_ eval (22) - new (40)
- next (11)
- oct (11)
- open (66)
- owner (22)
- p (11)
- path (11)
- popen (154)
- pp (7)
- print (33)
- printf (44)
- proc (18)
-
public
_ instance _ method (11) - putc (33)
- puts (33)
- raise (44)
- rand (88)
- read (33)
- readline (44)
- readlines (77)
- rect (11)
- rectangular (11)
-
remove
_ const (11) - reopen (33)
- require (11)
-
require
_ relative (11) - sample (44)
- select (22)
- send (22)
-
set
_ trace _ func (22) - shuffle! (22)
-
singleton
_ method (11) - sleep (22)
- spawn (55)
- sprintf (11)
- srand (44)
- status (11)
- sub (22)
- syscall (11)
- sysopen (11)
- system (44)
- tag (10)
- terminate (11)
- test (22)
- throw (11)
-
to
_ a (44) -
to
_ ary (11) -
to
_ f (11) -
to
_ i (11) -
to
_ int (11) -
to
_ r (11) -
to
_ s (22) -
to
_ str (11) -
trace
_ var (33) - trap (22)
-
untrace
_ var (11) - value (10)
- warn (27)
- write (22)
検索結果
先頭5件
-
SystemExit
# status -> Integer (8.0) -
例外オブジェクトに保存された終了ステータスを返します。
...例外オブジェクトに保存された終了ステータスを返します。
終了ステータスは Kernel.#exit や SystemExit.new などで設定されます。
例:
begin
exit 1
rescue SystemExit => err
p err.status # => 1
end
begin
raise SystemExit.new(1, "dummy... -
Thread
# add _ trace _ func(pr) -> Proc (8.0) -
スレッドにトレース用ハンドラを追加します。
...e0>, nil]
# => ["line", "example.rb", 6, nil, #<Binding:0x00007f98e108d4b0>, nil]
# => ["c-call", "example.rb", 6, :to_s, #<Binding:0x00007f98e1097aa0>, Integer]
# => ["c-return", "example.rb", 6, :to_s, #<Binding:0x00007f98e1095cc8>, Integer]
//}
@see Thread#set_trace_func Kernel.#set_trace_func... -
Thread
# backtrace _ locations(range) -> [Thread :: Backtrace :: Location] | nil (8.0) -
スレッドの現在のバックトレースを Thread::Backtrace::Location の配 列で返します。
...レームの個数を指定します。
@param range 取得したいフレームの範囲を示す Range オブジェクトを指定します。
Kernel.#caller_locations と似ていますが、本メソッドは self に限定
した情報を返します。
//emlist[例][ruby]{
thread = Thread.n... -
Thread
# backtrace _ locations(start = 0 , length = nil) -> [Thread :: Backtrace :: Location] | nil (8.0) -
スレッドの現在のバックトレースを Thread::Backtrace::Location の配 列で返します。
...レームの個数を指定します。
@param range 取得したいフレームの範囲を示す Range オブジェクトを指定します。
Kernel.#caller_locations と似ていますが、本メソッドは self に限定
した情報を返します。
//emlist[例][ruby]{
thread = Thread.n... -
Thread
# set _ trace _ func(pr) -> Proc | nil (8.0) -
スレッドにトレース用ハンドラを設定します。
..."c-return", "example.rb", 5, :current, #<Binding:0x00007fc8de9673b0>, Thread]
# => ["c-call", "example.rb", 5, :set_trace_func, #<Binding:0x00007fc8de966fc8>, Thread]
//}
@param pr トレースハンドラ(Proc オブジェクト) もしくは nil
@see Thread#add_trace_func Kernel.#set_trace_func... -
Thread
:: Backtrace :: Location (8.0) -
Ruby のフレームを表すクラスです。
...Ruby のフレームを表すクラスです。
Kernel.#caller_locations から生成されます。
//emlist[例1][ruby]{
# caller_locations.rb
def a(skip)
caller_locations(skip)
end
def b(skip)
a(skip)
end
def c(skip)
b(skip)
end
c(0..2).map do |call|
puts call.to_s
end
//}
例1の実... -
UnboundMethod
# bind _ call(recv , *args) -> object (8.0) -
self を recv に bind して args を引数として呼び出します。
...self を recv に bind して args を引数として呼び出します。
self.bind(recv).call(*args) と同じ意味です。
//emlist[][ruby]{
puts Kernel.instance_method(:inspect).bind_call(BasicObject.new) # => #<BasicObject:0x000055c65e8ea7b8>
//}
@see UnboundMethod#bind, Method#call... -
UnboundMethod
# bind _ call(recv , *args) { . . . } -> object (8.0) -
self を recv に bind して args を引数として呼び出します。
...self を recv に bind して args を引数として呼び出します。
self.bind(recv).call(*args) と同じ意味です。
//emlist[][ruby]{
puts Kernel.instance_method(:inspect).bind_call(BasicObject.new) # => #<BasicObject:0x000055c65e8ea7b8>
//}
@see UnboundMethod#bind, Method#call... -
UnboundMethod
# owner -> Class | Module (8.0) -
このメソッドが定義されている class か module を返します。
...このメソッドが定義されている class か module を返します。
//emlist[例][ruby]{
Integer.instance_method(:to_s).owner # => Integer
Integer.instance_method(:to_c).owner # => Numeric
Integer.instance_method(:hash).owner # => Kernel
//}... -
Warning
. warn(message) -> nil (8.0) -
引数 message を標準エラー出力 $stderr に出力します。
...")
end
end
warn "hoge" # => hoge!!!
//}
@param message 出力するオブジェクトを指定します。
@param category 警告のカテゴリを指定します。サポートされている category については Warning.[] を参照してください。
@see Kernel.#warn, Warning#warn... -
Warning
. warn(message , category: nil) -> nil (8.0) -
引数 message を標準エラー出力 $stderr に出力します。
...ted)
# => deprecated warning : hoge!!!
//}
@param message 出力するオブジェクトを指定します。
@param category 警告のカテゴリを指定します。サポートされている category については Warning.[] を参照してください。
@see Kernel.#warn, Warning#warn... -
IO
# reopen(io) -> self (3.0) -
自身を指定された io に繋ぎ換えます。
自身を指定された io に繋ぎ換えます。
クラスも io に等しくなることに注意してください。
IO#pos, IO#lineno などは指定された io と等しくなります。
@param io 自身を繋ぎ換えたい IO オブジェクトを指定します。
@raise IOError 指定された io が close されている場合に発生します。