2135件ヒット
[1-100件を表示]
(0.135秒)
ライブラリ
- ビルトイン (979)
- csv (44)
- date (11)
- delegate (55)
- digest (11)
- fiddle (11)
-
irb
/ context (11) -
irb
/ magic-file (22) - json (154)
- matrix (22)
-
net
/ imap (33) - objspace (55)
- openssl (44)
- optparse (33)
- pathname (22)
- prettyprint (22)
- prime (99)
- psych (14)
-
rexml
/ document (55) -
ripper
/ filter (22) - rubygems (11)
-
rubygems
/ specification (22) - shell (12)
- socket (132)
- tempfile (22)
- uri (11)
-
webrick
/ httpauth / authenticator (11) - win32ole (22)
-
yaml
/ dbm (11) - zlib (44)
クラス
-
ARGF
. class (44) - Array (89)
- CSV (44)
- Data (2)
- Date (11)
- Delegator (22)
-
Digest
:: Base (11) - Dir (99)
- Enumerator (55)
-
Enumerator
:: Chain (18) -
Enumerator
:: Yielder (22) - File (33)
-
Gem
:: Specification (22) - Hash (25)
-
IRB
:: Context (11) - Integer (11)
-
JSON
:: State (33) - MatchData (11)
- Matrix (22)
- Module (25)
-
Net
:: IMAP :: FetchData (11) -
Net
:: IMAP :: ResponseCode (11) -
Net
:: IMAP :: UntaggedResponse (11) - Object (117)
-
OpenSSL
:: X509 :: Attribute (33) -
OpenSSL
:: X509 :: Name (11) - OptionParser (33)
- Pathname (22)
- PrettyPrint (22)
- Prime (44)
-
Prime
:: PseudoPrimeGenerator (44) -
REXML
:: Attribute (11) -
REXML
:: Elements (22) -
REXML
:: Parent (22) - Random (22)
- Range (11)
- Rational (11)
- Regexp (22)
-
Ripper
:: Filter (22) - Shell (12)
- SimpleDelegator (33)
- Socket (44)
- StopIteration (11)
- String (30)
- Struct (17)
- Tempfile (22)
- Thread (11)
- TracePoint (10)
- UNIXServer (44)
- UNIXSocket (44)
-
WIN32OLE
_ TYPELIB (22) -
YAML
:: DBM (11) -
Zlib
:: GzipWriter (44)
モジュール
- Enumerable (187)
- Fiddle (11)
- GC (24)
- Gem (11)
- JSON (88)
-
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (22) - Kernel (72)
- ObjectSpace (66)
- Psych (14)
- URI (11)
-
WEBrick
:: HTTPAuth :: Authenticator (11)
オブジェクト
-
IRB
:: MagicFile (22)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - << (11)
- <=> (11)
-
BUILD
_ RUBY _ PLATFORM (11) - DATA (11)
- Float (6)
- Marshal フォーマット (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 3
. 0 . 0 (4) -
OBJECT
_ TYPE _ TEMPLATE (11) -
RUBY
_ PATCHLEVEL (11) -
RUBY
_ PLATFORM (11) -
RUBY
_ RELEASE _ DATE (11) - Rational (11)
- [] (44)
-
_ _ getobj _ _ (11) -
_ _ setobj _ _ (11) -
allocation
_ sourcefile (11) -
allocation
_ sourceline (11) -
array
_ attributes (11) - attr (11)
- bsearch (22)
- catch (22)
- chdir (33)
-
cofactor
_ expansion (11) - collect (11)
-
const
_ source _ location (5) -
count
_ tdata _ objects (11) - create (22)
-
create
_ id (11) - cycle (11)
- data (22)
-
default
_ value (11) -
delete
_ at (11) -
delete
_ if (11) - detect (11)
- each (89)
-
each
_ char (11) -
each
_ child (11) -
each
_ line (22) -
each
_ prime (11) -
each
_ with _ object (11) -
enum
_ for (22) - evaluate (11)
-
fast
_ generate (11) -
fast
_ unparse (11) - feed (11)
- file (11)
- filter (18)
-
filter
_ map (5) - find (11)
-
find
_ all (11) - format (22)
-
garbage
_ collect (11) - generate (33)
- grep (11)
-
grep
_ v (11) -
handle
_ interrupt (11) - hash (13)
- index (7)
- inject (11)
- instance (22)
-
irb
/ ext / math-mode (4) - join (11)
- key (7)
-
laplace
_ expansion (11) -
latest
_ gc _ info (22) - load (14)
- logger (11)
- match (44)
-
max
_ by (22) -
method
_ missing (11) -
min
_ by (22) -
minmax
_ by (11) - new (132)
-
object
_ nl (11) - oid (11)
- on (33)
-
on
_ XXX (11) -
on
_ default (11) - open (176)
- parse! (11)
- partition (11)
- path (11)
-
pretty
_ generate (11) -
pretty
_ unparse (11) -
private
_ constant (9) -
private
_ instance _ methods (11) -
private
_ methods (11) -
public
_ methods (11) - pushd (6)
- pushdir (6)
- rand (22)
- rdoc (11)
- reject (22)
-
require
_ relative (11) -
respond
_ to _ missing? (11) - result (11)
- rewind (6)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) - select (39)
-
singleline
_ format (11) -
sort
_ by (11) - sprintf (11)
- sprintf フォーマット (11)
- stat (12)
- string (11)
-
to
_ enum (22) -
to
_ json (11) -
to
_ json _ raw (11) -
to
_ json _ raw _ object (11) -
trace
_ object _ allocations _ start (11) -
trace
_ object _ allocations _ stop (11) - unix (22)
-
unix
_ server _ socket (22) - unpack1 (8)
- unparse (11)
- version (11)
-
win
_ platform? (11) -
with
_ index (22) -
with
_ object (44) - wrap (22)
- write (11)
- yield (11)
-
yield
_ self (7)
検索結果
先頭5件
- irb
/ ext / math-mode - PrettyPrint
. singleline _ format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object - ObjectSpace
. # trace _ object _ allocations _ stop -> nil - ObjectSpace
. # trace _ object _ allocations _ start -> nil - Object
# private _ methods(include _ inherited = true) -> [Symbol]
-
irb
/ ext / math-mode (38032.0) -
irb コマンドで実行結果を Object#inspect の代わりに Object#to_s した結果で表示するためのサブライブラリです。
...irb コマンドで実行結果を Object#inspect の代わりに
Object#to_s した結果で表示するためのサブライブラリです。
conf.math_mode か IRB.conf[:MATH_MODE] に true を設定する事で使用できま
す。ただし、inspect_mode が設定されていた場合は ins... -
PrettyPrint
. singleline _ format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object (21601.0) -
PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。 PrettyPrint.format に似ていますが、改行しません。
...PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。
PrettyPrint.format に似ていますが、改行しません。
引数 maxwidth, newline と genspace は無視されます。ブロック中の breakable の実行は、
改行せずに text......の実行であるかのように扱います。
@param output 出力先を指定します。output は << メソッドを持っていなければなりません。
@param maxwidth 無視されます。
@param newline 無視されます。
@param genspace 無視されます。... -
ObjectSpace
. # trace _ object _ allocations _ stop -> nil (21413.0) -
オブジェクト割り当てのトレースを終了します。
...オブジェクト割り当てのトレースを終了します。
トレースを終了する為には、ObjectSpace.#trace_object_allocations_startを呼んだ回数分だけこのメソッドを呼ぶ必要があります。
@see ObjectSpace.#trace_object_allocations_start... -
ObjectSpace
. # trace _ object _ allocations _ start -> nil (21407.0) -
オブジェクト割り当てのトレースを開始します。
...オブジェクト割り当てのトレースを開始します。
@see ObjectSpace.#trace_object_allocations_stop... -
Object
# private _ methods(include _ inherited = true) -> [Symbol] (21312.0) -
そのオブジェクトが理解できる private メソッド名の一覧を返します。
...が理解できる private メソッド名の一覧を返します。
@param include_inherited 偽となる値を指定すると自身のクラスのスーパークラスで定義されたメソッドを除きます。
@see Module#private_instance_methods,Object#methods,Object#singleton_methods... -
Prime
:: PseudoPrimeGenerator # with _ object(obj) -> Enumerator (18409.0) -
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
...bj 任意のオブジェクトを指定します。
@return 最初に与えられたオブジェクトを返します。
@return ブロックを与えられた場合は obj を返します。ブロックを与えられなかった場合は Enumerator を返します。
@see Enumerator#with_object... -
Prime
:: PseudoPrimeGenerator # with _ object(obj) {|prime , obj| . . . } -> object (18409.0) -
与えられた任意のオブジェクトと要素をブロックに渡して評価します。
...bj 任意のオブジェクトを指定します。
@return 最初に与えられたオブジェクトを返します。
@return ブロックを与えられた場合は obj を返します。ブロックを与えられなかった場合は Enumerator を返します。
@see Enumerator#with_object... -
ObjectSpace
. # allocation _ sourcefile(object) -> String (15465.0) -
objectの元となったソースファイル名を返します。
...
objectの元となったソースファイル名を返します。
@param object 元となるソースファイル名を取得したいobjectを指定します。
@return objectの元となるソースファイル名を返します。存在しない場合はnilを返します。
//emlist[例:test......{
require 'objspace'
ObjectSpace::trace_object_allocations_start
obj = Object.new
puts "file:#{ObjectSpace::allocation_sourcefile(obj)}" # => file:test.rb
ObjectSpace::trace_object_allocations_stop
//}
@see ObjectSpace.#trace_object_allocations_start,
ObjectSpace.#trace_object_allocations_s... -
ObjectSpace
. # allocation _ sourceline(object) -> Integer (15465.0) -
objectの元となったソースファイルの行番号を返します。
...
objectの元となったソースファイルの行番号を返します。
@param object 元となるソースファイルの行番号を取得したいobjectを指定します。
@return objectの元となるソースファイルの行番号を返します。存在しない場合はnilを返し....../emlist[例][ruby]{
require 'objspace'
ObjectSpace::trace_object_allocations_start
obj = Object.new
puts "line:#{ObjectSpace::allocation_sourceline(obj)}" # => line:4
ObjectSpace::trace_object_allocations_stop
//}
@see ObjectSpace.#trace_object_allocations_start,
ObjectSpace.#trace_object_al......locations_stop... -
Enumerator
# with _ object(obj) -> Enumerator (15415.0) -
繰り返しの各要素に obj を添えてブロックを繰り返し、obj を返り値として返します。
...を返す Enumerator を返します。
//emlist[例][ruby]{
# 0,1,2 と呼びだす enumeratorを作る
to_three = Enumerator.new do |y|
3.times do |x|
y << x
end
end
to_three_with_string = to_three.with_object("foo")
to_three_with_string.each do |x,string|
puts "#{string}: #{x}"
end
#......=> foo:0
# => foo:1
# => foo:2
//}
@param obj 繰り返しの各要素に添えて渡されるオブジェクト
@see Enumerable#each_with_object...