241件ヒット
[1-100件を表示]
(0.076秒)
ライブラリ
- ビルトイン (66)
- mkmf (11)
- pathname (22)
-
rubygems
/ dependency _ installer (22) -
rubygems
/ installer (11) -
rubygems
/ specification (44) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12)
クラス
- File (22)
-
File
:: Stat (22) -
Gem
:: DependencyInstaller (22) -
Gem
:: Installer (11) -
Gem
:: Specification (44) - Pathname (22)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12)
キーワード
-
DEFAULT
_ OPTIONS (11) -
NEWS for Ruby 2
. 5 . 0 (7) -
add
_ bindir (11) -
default
_ executable (11) - executable? (62)
-
executable
_ real? (62) - executables (11)
-
find
_ executable (11) - new (22)
-
ruby 1
. 8 . 4 feature (11) -
rubygems
/ commands / install _ command (11)
検索結果
先頭5件
-
Gem
:: Specification # executable -> String (18201.0) -
実行可能ファイル名を返します。
実行可能ファイル名を返します。 -
Pathname
# executable? -> bool (6223.0) -
FileTest.executable?(self.to_s) と同じです。
...FileTest.executable?(self.to_s) と同じです。
@see FileTest.#executable?... -
Pathname
# executable _ real? -> bool (6223.0) -
FileTest.executable_real?(self.to_s) と同じです。
...FileTest.executable_real?(self.to_s) と同じです。
@see FileTest.#executable_real?... -
File
. executable?(path) -> bool (6217.0) -
FileTest.#executable? と同じです。
...FileTest.#executable? と同じです。
@param path パスを表す文字列を指定します。... -
File
. executable _ real?(path) -> bool (6217.0) -
FileTest.#executable_real? と同じです。
...FileTest.#executable_real? と同じです。
@param path パスを表す文字列を指定します。... -
FileTest
. # executable?(file) -> bool (6213.0) -
ファイルがカレントプロセスにより実行できる時に真を返しま す。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
@param file ファイル名を表す文字列を指定します。
例:
FileTest.executable?('/bin') # => true
FileTest.executable?('/bin/bash') # => true... -
FileTest
. # executable _ real?(file) -> bool (6213.0) -
ファイルがカレントプロセスの実ユーザか実グループで実行できる時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...ます。
@param file ファイル名を表す文字列を指定します。
//emlist[例][ruby]{
IO.write("empty.txt", "")
File.chmod(0744, "empty.txt")
FileTest.executable_real?("empty.txt") # => true
File.chmod(0644, "empty.txt")
FileTest.executable_real?("empty.txt") # => false
//}... -
File
:: Stat # executable? -> bool (6207.0) -
実効ユーザ/グループIDで実行できる時に真を返します。
...実効ユーザ/グループIDで実行できる時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).executable?
# 例
#=> true
//}... -
File
:: Stat # executable _ real? -> bool (6207.0) -
実ユーザ/グループIDで実行できる時に真を返します。
...実ユーザ/グループIDで実行できる時に真を返します。
//emlist[][ruby]{
p File::Stat.new($0).executable_real?
#例
#=> true
//}... -
Shell
# executable?(file) -> bool (6207.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable?...