594件ヒット
[1-100件を表示]
(0.013秒)
別のキーワード
ライブラリ
- ビルトイン (192)
-
irb
/ cmd / chws (24) -
irb
/ cmd / help (12) -
irb
/ cmd / load (36) -
irb
/ cmd / nop (12) -
irb
/ cmd / pushws (36) -
irb
/ cmd / subirb (48) - mkmf (12)
- pathname (24)
- rake (24)
-
rubygems
/ command (12) -
rubygems
/ commands / build _ command (12) -
rubygems
/ commands / dependency _ command (12) -
rubygems
/ specification (84) -
rubygems
/ uninstaller (12) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) -
shell
/ process-controller (6)
クラス
- BasicObject (36)
-
File
:: Stat (24) -
Gem
:: Command (12) -
Gem
:: Commands :: BuildCommand (12) -
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: Specification (84) -
Gem
:: Uninstaller (12) - IO (24)
-
IRB
:: ExtendCommand :: ChangeWorkspace (12) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (12) -
IRB
:: ExtendCommand :: Foreground (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: ExtendCommand :: IrbCommand (12) -
IRB
:: ExtendCommand :: Jobs (12) -
IRB
:: ExtendCommand :: Kill (12) -
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Nop (12) -
IRB
:: ExtendCommand :: PopWorkspace (12) -
IRB
:: ExtendCommand :: PushWorkspace (12) -
IRB
:: ExtendCommand :: Require (12) -
IRB
:: ExtendCommand :: Source (12) -
IRB
:: ExtendCommand :: Workspaces (12) - Module (24)
- Pathname (24)
-
Rake
:: Task (12) - Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) -
Shell
:: ProcessController (6) - String (84)
キーワード
- []= (84)
-
add
_ bindir (12) -
class
_ exec (12) -
close
_ on _ exec= (12) -
close
_ on _ exec? (12) -
default
_ executable (12) -
default
_ executable= (12) - executable (12)
- executable= (12)
- executable? (42)
-
executable
_ real? (42) - executables (12)
- executables= (12)
- execute (216)
-
find
_ executable (12) -
instance
_ eval (24) -
instance
_ exec (12) -
module
_ exec (12) -
remove
_ executables (12) - sh (12)
-
wait
_ all _ jobs _ execution (6)
検索結果
先頭5件
-
Gem
:: Specification # default _ executable=(executable) (6201.0) -
Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
...Gem パッケージ内で gem コマンド経由で実行するファイルをセットします。
@param executable 実行ファイルを指定します。... -
Gem
:: Specification # executable=(executable) (6201.0) -
実行可能ファイル名をセットします。
...実行可能ファイル名をセットします。
@param executable 実行可能ファイル名を指定します。... -
Gem
:: Specification # executables=(executables) (6201.0) -
実行可能ファイル名のリストをセットします。
...実行可能ファイル名のリストをセットします。
@param executables 実行可能ファイル名のリストを指定します。... -
IO
# close _ on _ exec? -> bool (6154.0) -
自身に close-on-exec フラグが設定されていた場合 true を返します。 そうでない場合に false を返します。
...close-on-exec フラグが設定されていた場合 true を返します。
そうでない場合に false を返します。
f = open("/dev/null")
f.close_on_exec? #=> true
f.close_on_exec = false
f.close_on_exec? #=> false
f.close_on_exec = true......f.close_on_exec? #=> true
@see IO#close_on_exec=... -
IO
# close _ on _ exec=(bool) (6142.0) -
自身に close-on-exec フラグを設定します。
...-on-exec フラグを設定します。
このフラグをセットすると exec(2) 時にそのファイルデスクリプタを
close します。
@see fcntl(2)
@param bool 自身の close-on-exec フラグを true か false で指定します。
f = open("/dev/null")
f.close_on_exec = t......rue
system("cat", "/proc/self/fd/#{f.fileno}") # cat: /proc/self/fd/3: No such file or directory
f.closed? #=> false
@see IO#close_on_exec?... -
BasicObject
# instance _ exec(*args) {|*vars| . . . } -> object (6120.0) -
与えられたブロックをレシーバのコンテキストで実行します。
...タに渡す値です。
//emlist[例][ruby]{
class KlassWithSecret
def initialize
@secret = 99
end
end
k = KlassWithSecret.new
# 以下で x には 5 が渡される
k.instance_exec(5) {|x| @secret + x } #=> 104
//}
@see Module#class_exec, Module#module_exec, BasicObject#instance_eval... -
Module
# class _ exec(*args) {|*vars| . . . } -> object (6109.0) -
与えられたブロックを指定された args を引数としてモジュールのコンテキストで評価します。
...コープになります。
@param args ブロックに渡す引数を指定します。
//emlist[例][ruby]{
class Thing
end
c = 1
Thing.class_exec{
def hello()
"Hello there!"
end
define_method(:foo) do # ローカル変数がブロックの外側を参照している
c
end... -
Module
# module _ exec(*args) {|*vars| . . . } -> object (6109.0) -
与えられたブロックを指定された args を引数としてモジュールのコンテキストで評価します。
...コープになります。
@param args ブロックに渡す引数を指定します。
//emlist[例][ruby]{
class Thing
end
c = 1
Thing.class_exec{
def hello()
"Hello there!"
end
define_method(:foo) do # ローカル変数がブロックの外側を参照している
c
end... -
File
:: Stat # executable? -> bool (6101.0) -
実効ユーザ/グループIDで実行できる時に真を返します。
...実効ユーザ/グループIDで実行できる時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).executable?
# 例
#=> true
//}...