ライブラリ
- ビルトイン (55)
-
rubygems
/ command (11) -
rubygems
/ command _ manager (11) - shell (12)
-
shell
/ command-processor (504) -
shell
/ process-controller (30)
クラス
-
Gem
:: Command (11) -
Gem
:: CommandManager (11) - Shell (12)
-
Shell
:: CommandProcessor (498) -
Shell
:: ProcessController (30)
キーワード
- CommandProcessor (6)
-
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (4) - NoDelegateMethods (6)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- [] (6)
-
add
_ delegate _ command _ to _ shell (6) -
add
_ schedule (6) -
alias
_ command (12) -
alias
_ map (6) - append (6)
- atime (6)
- basename (6)
- blockdev? (6)
- cat (6)
- chardev? (6)
-
check
_ point (6) - chmod (6)
- chown (6)
-
command
_ processor (6) - concat (6)
- ctime (6)
-
def
_ builtin _ commands (6) -
def
_ system _ command (6) - delete (6)
- directory? (6)
- dirname (6)
- echo (6)
- exec (11)
- executable? (6)
-
executable
_ real? (6) - exist? (6)
- exists? (6)
- file? (6)
-
find
_ system _ command (6) -
finish
_ all _ jobs (6) - foreach (6)
- ftype (6)
- glob (6)
- grpowned? (6)
- identical? (6)
- initialize (6)
-
install
_ builtin _ commands (6) -
install
_ system _ commands (6) - join (6)
-
kill
_ job (6) - link (6)
- lstat (6)
-
method
_ added (6) - mkdir (6)
- mtime (6)
- new (6)
- notify (6)
- open (6)
- out (6)
- owned? (6)
- pipe? (6)
-
process
_ args (11) - readable? (6)
-
readable
_ real? (6) - readlink (6)
- rehash (6)
- rename (6)
- rm (6)
- rmdir (6)
-
ruby 1
. 9 feature (11) -
run
_ config (6) - setgid? (6)
- setuid? (6)
- sfork (6)
-
shell
/ command-processor (6) - size (6)
- size? (6)
- socket? (6)
- split (6)
-
start
_ job (6) - stat (6)
- sticky? (6)
- symlink (6)
- symlink? (6)
- system (6)
- tee (6)
-
terminate
_ job (6) - test (6)
- transact (6)
- trap (44)
- truncate (6)
-
unalias
_ command (6) -
undef
_ system _ command (12) - unlink (6)
- utime (6)
-
when
_ invoked (11) -
world
_ readable? (6) -
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - zero? (6)
検索結果
先頭5件
-
Kernel
. # trap(signal , command) -> String | Proc | nil (225.0) -
signal で指定された割り込みにたいするハンドラとして command を登録します。Signal.#trapと同じです。
...signal で指定された割り込みにたいするハンドラとして
command を登録します。Signal.#trapと同じです。
Signal.#trapの使用を推奨します。
@param signal Signal.#trap 参照
@param command Signal.#trap 参照
@see Signal.#trap,Signal... -
Signal
. # trap(signal) { . . . } -> String | Proc | nil (177.0) -
指定された割り込み signal に対するハンドラとして command を登録します。 指定したシグナルが捕捉された時には例外が発生せず、代わりに command が実行されます。 ブロックを指定した場合にはブロックをハンドラとして登録します。
...指定された割り込み signal に対するハンドラとして
command を登録します。
指定したシグナルが捕捉された時には例外が発生せず、代わりに command が実行されます。
ブロックを指定した場合にはブロックをハンドラとして登......trap で設定したハンドラを返します。
文字列を登録していた場合はそれを、
ブロックを登録していたらそれを Proc オブジェクトに変換して返します。
また何も登録されていないときも nil を返します。
ruby の仕組みの外で......指定できます。
これは「プログラムの終了時」を表します。
@param command シグナルハンドラとして Ruby プログラムを表す文字列か Proc オブジェクト、また次に挙げる文字列を
指定します。nil、空文字列... -
Kernel
. # trap(signal) { . . . } -> String | Proc | nil (125.0) -
signal で指定された割り込みにたいするハンドラとして command を登録します。Signal.#trapと同じです。
...signal で指定された割り込みにたいするハンドラとして
command を登録します。Signal.#trapと同じです。
Signal.#trapの使用を推奨します。
@param signal Signal.#trap 参照
@param command Signal.#trap 参照
@see Signal.#trap,Signal... -
ruby 1
. 9 feature (72.0) -
ruby 1.9 feature ruby version 1.9.0 は開発版です。 以下にあげる機能は将来削除されたり互換性のない仕様変更がなされるかもしれません。 1.9.1 以降は安定版です。 バグ修正がメインになります。
...除
=== 2006-06-11
: __callee__ [new]
: __method__ [new]
((<URL:http://www.dm4lab.to/~usa/ruby/d/200606a.html#id20060610_P1_7>))
: Symbol#to_proc
=== 2006-06-10
* 新機能
: BasicObject が導入されました [new]
: local という visibility および Module#local, Module#local_meth......が 1文字の String を返すようになりました
* 多重代入、引数渡し
: 多重代入や yield の何かが変わりました
: Proc#yield が導入されました
: nil.yield が導入されました。no block given (LocalJumpError) という例外を生成します
: 仮......れまでどおりです。
p system("hogehoge ''")
# => ruby 1.9.0 (2004-07-17) [i586-linux]
sh: line 1: hogehoge: command not found
false
=== 2004-02-06
: BasicSocket#do_not_reverse_lookup [new]
: BasicSocket#do_not_reverse_lookup= [new]
個々のソ... -
NEWS for Ruby 3
. 0 . 0 (48.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ror or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplatting. This now matches the behavior of Procs
accepting a single rest argument and no keywords.
16166
//emlist[][ruby]{
pr = proc{|*a, **kw| [a, kw]}
pr.call([1])......from the toplevel scope is now a RuntimeError.
14541
* Assigning to a numbered parameter is now a SyntaxError instead of
a warning.
== Command line options
=== `--help` option
When the environment variable `RUBY_PAGER` or `PAGER` is present and has
a non-empty value, and the standard i......be compatible for essentially all usages and avoids blocking when using a scheduler. 16792
* Proc
* Proc#== and Proc#eql? are now defined and will return true for separate Proc instances if the procs were created from the same block. 14267
* Queue / SizedQueue
* Queue#pop, SizedQueue#pu... -
NEWS for Ruby 2
. 5 . 0 (24.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ようにしました 14123
* Kernel.#warn :uplevel というキーワード引数を追加しました 12882
* Method
* Method#=== は Proc#===と同じようにMethod#callを呼び出します 14142
* Module
* Module#attr, Module#attr_accessor, Module#attr_reader, Module#attr_w......くなりました。
coerceがnilを返す場合、変換は不可能です。7688
* Process
* getrusage(2) が存在する場合 Process.#times の精度を改良しました 11952
* Process.last_status を追加。$? と同じです 14043
* Range
* Range.new no longer hide......* gdbm
* ipaddr
* scanf
* sdbm
* stringio
* strscan
* webrick
* zlib
* Logger
* Logger.new("| command") は意図せず、コマンドを実行していましたが、禁止されました。
Logger#initialize の引数は仕様としてフ... -
Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (24.0)
-
Rubyで使われる記号の意味(正規表現の複雑な記号は除く) ex q num per and or plus minus ast slash hat sq period comma langl rangl eq tilde dollar at under lbrarbra lbra2rbra2 lbra3rbra3 dq colon ac backslash semicolon
...> "nomad"
//}
: % ruby -e "puts 'Hello'"
コマンドラインへの入力を示す。rubyスクリプト上で入力を行うには `command` や system(command) などと書く
===[a:and] &
: xxx & yyy
論理積演算子。または類似の演算を行うメソッド。
//emlist{
p( 3......を返す。
//}
: def xxx(&yyy) ・・ &がついた引数
メソッド定義のブロック引数。d:spec/def#methodを参照。
: xxx(&b)
Proc オブジェクトをブロックとして使う。d:spec/call#block を参照。
: xxx&.yyy
safe navigation operator(通称「ぼっち演算......(`)で囲まれた文字列は、コマンドとして実行され、
その標準出力が文字列として与えられます。d:spec/literal#commandを参照。
//emlist{
puts `ruby -h`
#=> Usage: ruby [switches] [--] [programfile] [arguments]
#=> ....
//}
===[a:backslash] \
バッ...