機能別索引

配列生成/ 配列要素の参照/ 配列要素の追加、置き換え/ 配列要素の削除/ 配列の重複した要素の削除/ 配列による集合演算/ 配列の比較/ 配列要素の最大値、最小値を求める/ 配列のソート/ バイナリデータを扱う/ 配列の要素の数を数える/ 文字列生成/ 文字列の比較/ 数値、文字列変換/ 書式出力/ 文字列の大文字、小文字変換/ 正規表現の生成/ 正規表現マッチ/ ハッシュの生成/ コマンド実行、子プロセスの生成/ プロセスの終了を待ち合わせる/ プロセスの終了ステータスを得る/ ファイルをオープンする/ ファイルを読む/ 画面出力する/ ファイルに書く/ ファイル名の操作/ ファイルの時刻/ ファイルのモード、属性/ 数値演算/ 変数を削除する/ メソッドを削除する/ メソッド定義のフック/ 変数の一覧を得る/ メソッドの一覧を得る/ ruby を終了させる/ 終了時に処理を実行する/ 未分類/

*1

配列生成

配列式, Array[], Array.new, *, clone, dup, Array,

配列要素の参照

[], at, fetch, assoc, rassoc, slice, first, last,

配列要素の追加、置き換え

[]=, +, <<, concat, insert, push, unshift,

配列要素の削除

delete, delete_at, delete_if, reject!, clear, pop, shift, slice!,

配列の重複した要素の削除

uniq, uniq!,

配列による集合演算

-, &, |,

配列の比較

<=>, ==, eql?,

配列要素の最大値、最小値を求める

max, min,

配列のソート

sort, sort!, sort, sort_by,

バイナリデータを扱う

pack, unpack,

配列の要素の数を数える

length, size, nitems,

文字列生成

文字列リテラル, コマンド出力, ヒアドキュメント (行指向文字列リテラル), String.new, +, *, String,

文字列の比較

==, >, >=, <, <=, <=>, casecmp,

数値、文字列変換

hex, oct, to_f, to_i, Float, Integer, String, chr,

書式出力

printf, sprintf, format, %,

文字列の大文字、小文字変換

capitalize, capitalize!, upcase, upcase!, downcase, downcase!, swapcase, swapcase!,

正規表現の生成

正規表現リテラル, Regexp.compile, Regexp.new,

正規表現マッチ

=~, ===, ~, match, =~, ~, [], []=, match, scan, scan, split, split, sub, sub!, sub, sub!, gsub, gsub!, gsub, gsub!, grep,

ハッシュの生成

ハッシュ式, Hash[], Hash.new, ENV.to_hash,

コマンド実行、子プロセスの生成

`, exec, fork, open, IO.popen, system, Process.fork,

プロセスの終了を待ち合わせる

Process.wait, Process.wait2, Process.waitall, Process.waitpid, Process.waitpid2,

プロセスの終了ステータスを得る

$?, exited?, exitstatus, stopped?, stopsig, signaled?, termsig, coredump?, status,

ファイルをオープンする
ファイルを読む

open, readlines, IO.foreach, IO.read, IO.readlines, each, each_line, each_byte, getc, gets, read, readchar, readline, readlines, sysread, File.new, File.open, Marshal.load,

画面出力する
ファイルに書く

p, print, printf, putc, puts, <<, print, printf, putc, puts, syswrite, write, Marshal.dump,

ファイル名の操作

File.basename, File.dirname, File.expand_path, File.extname, File.fnmatch, File.fnmatch?, File.join, File.readlink, File.split, path, ALT_SEPARATOR, PATH_SEPARATOR, SEPARATOR, Separator,

ファイルの時刻

File.atime, File.ctime, File.mtime, File.utime, atime, ctime, mtime, <=>, atime, mtime, ctime, test,

ファイルのモード、属性

File.chmod, File.lchmod, File.chown, File.lchown, File.ftype, File.stat, File.lstat, chmod, chown, lstat, File::Stat.new, ftype, dev, ino, mode, nlink, uid, gid, rdev, size, blksize, blocks, rdev_major, rdev_minor, directory?, readable?, readable_real?, writable?, writable_real?, executable?, executable_real?, file?, zero?, size?, owned?, grpowned?, pipe?, symlink?, socket?, blockdev?, chardev?, setuid?, setgid?, sticky?, test, FileTest.blockdev?, FileTest.chardev?, FileTest.executable?, FileTest.executable_real?, FileTest.exist?, FileTest.grpowned?, FileTest.directory?, FileTest.file?, FileTest.pipe?, FileTest.socket?, FileTest.owned?, FileTest.readable?, FileTest.readable_real?, FileTest.setuid?, FileTest.setgid?, FileTest.size, FileTest.size?, FileTest.sticky?, FileTest.symlink?, FileTest.writable?, FileTest.writable_real?, FileTest.zero?,

数値演算

+, -, /, abs, ceil, div, divmod, floor, modulo, remainder, round, truncate, +, -, *, /, %, **, +, -, *, /, %, **, truncate, Math.acos, Math.asin, Math.atan, Math.atan2, Math.acosh, Math.asinh, Math.atanh, Math.cos, Math.sin, Math.tan, Math.cosh, Math.sinh, Math.tanh, Math.exp, Math.frexp, Math.hypot, Math.ldexp, Math.log, Math.log10, Math.sqrt, E, PI,

変数を削除する

remove_instance_variable, remove_class_variable, remove_const,

メソッドを削除する

undef, remove_method, undef_method,

メソッド定義のフック

singleton_method_added, singleton_method_removed, singleton_method_undefined, method_added, method_removed, method_undefined,

変数の一覧を得る

local_variables, global_variables, instance_variables, Module.constants, constants, class_variables,

メソッドの一覧を得る

methods, public_methods, private_methods, protected_methods, singleton_methods, public_instance_methods, instance_methods, private_instance_methods, protected_instance_methods,

ruby を終了させる

abort, exit, exit!, Thread.exit, Thread.kill, exit, kill, Process.exit!, trap, raise, fail, raise,

終了時に処理を実行する

at_exit, END, ObjectSpace.define_finalizer, ObjectSpace.add_finalizer,

未分類

コメント, 埋め込みドキュメント, 数値リテラル, 文字列リテラル, バックスラッシュ記法, 式展開, コマンド出力, ヒアドキュメント (行指向文字列リテラル), 正規表現, 配列式, ハッシュ式, 範囲オブジェクト, シンボル, 代入, 自己代入, 多重代入, 範囲式, and, or, not, 条件演算子, if, if 修飾子, unless, unless 修飾子, case, 繰り返し, while, while 修飾子, until, until修飾子, for, break, next, redo, retry, raise, begin, rescue修飾子, return, BEGIN, END, super, yield, クラス定義, 特異クラス定義, モジュール定義, メソッド定義, 特異メソッド定義, クラスメソッドの定義, alias, undef, defined?,

collect!, map!, compact, compact!, each, each_index, empty?, fill, flatten, flatten!, include?, index, indexes, join, replace, reverse, reverse!, reverse_each, rindex, select, to_a, to_ary, to_s,

all?, any?, collect, map, each_with_index, find, detect, find_all, select, grep, inject, member?, include?, reject, entries,

<<, concat, [], []=, center, ljust, rjust, chomp, chomp!, chop, chop!, clone, dup, count, crypt, delete, delete!, dump, each, each_line, each_byte, empty?, include?, index, insert, intern, length, size, next, next!, succ, succ!, replace, reverse, reverse!, rindex, scan, slice, slice, slice!, split, squeeze, squeeze!, strip, strip!, lstrip, lstrip!, rstrip, rstrip!, sum, to_s, to_str, tr, tr!, tr_s, tr_s!, upto,

autoload, binding, caller, callcc, catch, chop, chop!, chomp, chomp!, eval, gets, readline, gsub, gsub!, block_given?, load, loop, proc, lambda, raise, fail, rand, require, scan, select, set_trace_func, sleep, split, srand, sub, sub!, syscall, test, throw, trace_var, trap, untrace_var,

$_, $&, $~, $`, $', $+, $1, $!, $@, $SAFE, $=, $/, $\, $,, $;, $., $<, $>, $defout, $0, $*, $$, $:, $", $DEBUG, $FILENAME, $LOAD_PATH, $stdin, $stdout, $stderr, $VERBOSE, $KCODE, $-0, $-a, $-d, $-F, $-i, $-I, $-K, $-l, $-p, $-v, $-w,

==, =~, ===, class, type, clone, dup, display, eql?, equal?, extend, freeze, frozen?, hash, id, __id__, inspect, instance_eval, instance_of?, is_a?, kind_of?, method, method_missing, nil?, respond_to?, send, __send__, taint, tainted?, to_a, to_ary, to_hash, to_int, to_s, to_str, untaint, initialize,

call

Exception.new, Exception.exception, backtrace, exception, message, to_s, to_str, set_backtrace,

Dir[], Dir.glob, Dir.chdir, Dir.chroot, Dir.delete, Dir.rmdir, Dir.unlink, Dir.entries, Dir.foreach, Dir.getwd, Dir.pwd, Dir.mkdir, Dir.new, Dir.open, close, each, pos, tell, pos=, seek, read, rewind,

&, |, ^,

[], []=, store, clear, clone, dup, default, default=, delete, reject, delete_if, reject!, each, each_pair, each_key, each_value, empty?, fetch, has_key?, include?, key?, member?, has_value?, value?, index, indexes, indices, invert, keys, length, size, rehash, replace, select, shift, to_a, to_hash, update, values,

IO.new, IO.for_fd, IO.pipe, IO.popen, IO.select, binmode, clone, dup, close, close_read, close_write, closed?, eof, eof?, fcntl, fileno, to_i, flush, ioctl, isatty, tty?, lineno, lineno=, pid, pos, tell, pos=, reopen, rewind, seek, stat, sync, sync=, to_io, ungetc,

File.delete, File.unlink, File.link, File.rename, File.symlink, File.truncate, File.umask, flock, truncate,

[], begin, end, length, size, offset, post_match, pre_match, string, to_a, to_ary, to_s,

[], call, arity, inspect, to_proc, unbind,

[], call, bind, to_proc, unbind,

Module.nesting, Module.new, <=>, <, <=, >, >=, ===, ancestors, class_eval, const_defined?, const_get, const_set, include?, included_modules, instance_method, method_defined?, module_eval, name, private_class_method, public_class_method, alias_method, append_features, attr, attr_accessor, attr_reader, attr_writer, define_method, extend_object, include, included, module_function, private, protected, public,

Class.new, allocate, new, superclass, inherited,

clone, dup, coerce, integer?, nonzero?, zero?,

Integer.induced_from, [], <=>, ==, <, <=, >, >=, ~, |, &, ^, <<, >>, downto, next, succ, step, times, to_i, to_int, size, to_f, to_s, upto,

id2name,

Float.induced_from, <=>, ==, <, <=, >, >=, finite?, infinite?, nan?, to_f, to_i,

Proc.new, [], call, arity, yield,

==, &, to_i, to_int, to_s,

Range.new, ===, begin, first, each, end, last, exclude_end?, length, size, step, to_ary,

Regexp.escape, Regexp.quote, Regexp.last_match, casefold?, kcode, options, source, EXTENDED, IGNORECASE, MULTILINE,

Struct.new, Struct::XXX.new, Struct::XXX[], Struct::XXX.members, [], []=, each, each_pair, length, size, members, values, to_a,

Symbol.all_symbols, intern, id2name, to_s, to_i,

Thread.abort_on_exception, Thread.critical, Thread.current, Thread.exit, Thread.kill, Thread.list, Thread.main, Thread.new, Thread.start, Thread.fork, Thread.pass, Thread.stop, [], abort_on_exception, abort_on_exception=, alive?, exit, kill, join, key?, keys, priority, priority=, raise, run, safe_level, status, stop?, value, wakeup,

ThreadGroup.new, add, list, Default,

Time.at, Time.gm, Time.utc, Time.local, Time.mktime, Time.new, Time.now, Time.times, +, -, <=>, asctime, ctime, gmt?, utc?, getgm, getutc, getlocal, gmtime, utc, localtime, strftime, sec, min, hour, mday, day, mon, month, year, wday, yday, zone, isdst, dst?, utc_offset, gmt_offset, gmtoff, to_a, to_f, to_i, tv_sec, to_s, usec, tv_usec,

&, |, ^,

&, |, ^, nil?, to_a, to_i, to_s,

==, >, >=, <, <=, between?,

GC.disable, GC.enable, GC.start, garbage_collect,

Marshal.dump, Marshal.load, Marshal.restore, MAJOR_VERSION, MINOR_VERSION, _dump, _load,

ObjectSpace._id2ref, ObjectSpace.define_finalizer, ObjectSpace.each_object, ObjectSpace.garbage_collect, ObjectSpace.undefine_finalizer, ObjectSpace.add_finalizer, ObjectSpace.call_finalizer, ObjectSpace.finalizers, ObjectSpace.remove_finalizer,

Precision.included, Precision.induced_from, prec, prec_i, prec_f,

Process.exit!, Process.egid, Process.egid=gid, Process.euid, Process.euid=uid, Process.gid, Process.gid=gid, Process.pid, Process.ppid, Process.uid, Process.uid=uid, Process.getpgid, Process.getpgrp, Process.getpriority, Process.kill, Process.setpgrp, Process.setpgid, Process.setpriority, Process.setsid, Process.times, PRIO_PROCESS, PRIO_PGRP, PRIO_USER, WNOHANG, WUNTRACED, Status,

Signal.list, Signal.trap,

SystemCallError===, errno,


*1あらい 2002-02-06: 思い付き。やめるかも



rubyist ML