180件ヒット
[1-100件を表示]
(0.035秒)
ライブラリ
- ビルトイン (96)
- benchmark (12)
- rake (12)
-
rexml
/ document (12) - shell (30)
-
shell
/ system-command (6) - win32ole (12)
クラス
-
Benchmark
:: Tms (12) - Dir (36)
-
REXML
:: NotationDecl (12) - Shell (30)
-
Shell
:: SystemCommand (6) - SystemCallError (48)
- SystemExit (12)
-
WIN32OLE
_ TYPELIB (12)
モジュール
- Rake (12)
キーワード
- === (12)
-
alias
_ command (6) - application= (12)
-
def
_ system _ command (6) -
install
_ system _ commands (6) - open (24)
-
unalias
_ command (6) -
undef
_ system _ command (6)
検索結果
先頭5件
-
SystemCallError
. new(errno) -> SystemCallError (21223.0) -
整数 errno に対応する Errno::EXXX オブジェクトを生成して返します。
...クトは SystemCallError の直接のインスタンスではなく、サブクラスのインスタンスです。
それらのサブクラスは Errno モジュール内に定義されています。
対応するサブクラスが存在しないコードを与えた場合には、 SystemCallError......ときに発生します。
例:
p SystemCallError.new("message", 2)
# => #<Errno::ENOENT: No such file or directory - message>
p SystemCallError.new(2)
# => #<Errno::ENOENT: No such file or directory>
p SystemCallError.new(256)
# => #<SystemCallError: Unknown error 256>... -
SystemCallError
. new(error _ message , errno) -> SystemCallError (21223.0) -
整数 errno に対応する Errno::EXXX オブジェクトを生成して返します。
...クトは SystemCallError の直接のインスタンスではなく、サブクラスのインスタンスです。
それらのサブクラスは Errno モジュール内に定義されています。
対応するサブクラスが存在しないコードを与えた場合には、 SystemCallError......ときに発生します。
例:
p SystemCallError.new("message", 2)
# => #<Errno::ENOENT: No such file or directory - message>
p SystemCallError.new(2)
# => #<Errno::ENOENT: No such file or directory>
p SystemCallError.new(256)
# => #<SystemCallError: Unknown error 256>... -
SystemCallError
. new(error _ message) -> SystemCallError (21213.0) -
SystemCallError オブジェクトを生成して返します。
...SystemCallError オブジェクトを生成して返します。
@param error_message エラーメッセージを表す文字列
例:
p SystemCallError.new("message")
# => #<SystemCallError: unknown error - message>... -
SystemExit
. new(status = 0 , error _ message = "") -> SystemExit (21208.0) -
SystemExit オブジェクトを生成して返します。
...
SystemExit オブジェクトを生成して返します。
@param status 終了ステータスを整数で指定します。
@param error_message エラーメッセージを文字列で指定します。
例:
ex = SystemExit.new(1)
p ex.status # => 1... -
Shell
:: SystemCommand . new(sh , command , *opts) (21102.0) -
@todo
@todo
@param sh
@param command
@param opts -
Dir
. new(path , encoding: Encoding . find("filesystem")) -> Dir (18221.0) -
path に対するディレクトリストリームをオープンして返します。
...に失敗した場合に発生します。
//emlist[例: Dir.new][ruby]{
require 'tmpdir'
Dir.mktmpdir do |tmpdir|
d = Dir.new(tmpdir)
p d.class # => Dir
p d.read.encoding # => #<Encoding:UTF-8>
d.close
d = Dir.new(tmpdir, encoding: Encoding::UTF_8)
p d.class # => Dir... -
WIN32OLE
_ TYPELIB . new(libname , mjv = nil , miv = nil) -> WIN32OLE _ TYPELIB (18138.0) -
WIN32OLE_TYPELIBオブジェクトを生成します。
...。
tlib1 = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
tlib2 = WIN32OLE_TYPELIB.new('{00020813-0000-0000-C000-000000000046}')
tlib3 = WIN32OLE_TYPELIB.new('{00020813-0000-0000-C000-000000000046}', 1.7)
tlib4 = WIN32OLE_TYPELIB.new('{00020813-0000-0000-C000-000000000......046}', 1, 7)
tlib5 = WIN32OLE_TYPELIB.new("C:\\WINDOWS\\SYSTEM32\\SHELL32.DLL")
puts tlib1.name # => 'Microsoft Excel 14.0 Object Library'
puts tlib2.name # => 'Microsoft Excel 14.0 Object Library'
puts tlib3.name # => 'Microsoft Excel 14.0 Object Library'
puts tlib4.name # =... -
Benchmark
:: Tms . new(utime = 0 . 0 , stime = 0 . 0 , cutime = 0 . 0 , cstime = 0 . 0 , real = 0 . 0 , label = nil) -> Benchmark :: Tms (18114.0) -
新しい Benchmark::Tms オブジェクトを生成して返します。
...新しい Benchmark::Tms オブジェクトを生成して返します。
@param utime User CPU time
@param stime System CPU time
@param cutime 子プロセスの User CPU time
@param cstime 子プロセスの System CPU time
@param real 実経過時間
@param label ラベル... -
REXML
:: NotationDecl . new(name , middle , pub , sys) -> REXML :: NotationDecl (18108.0) -
NotationDecl オブジェクトを生成します。
...NotationDecl オブジェクトを生成します。
@param name 記法名(文字列)
@param middle 種別("PUBLIC" もしくは "SYSTEM")
@param pub 公開識別子(文字列)
@param sys URI(文字列)...