キーワード
- English (12)
-
digest
/ sha1 (12) -
digest
/ sha2 (12) -
irb
/ cmd / pushws (12) -
optparse
/ shellwords (12) -
rdoc
/ generator / darkfish (12) -
rubygems
/ digest / sha1 (12) -
rubygems
/ digest / sha2 (12) - shell (6)
-
shell
/ builtin-command (6) -
shell
/ command-processor (6) -
shell
/ error (6) -
shell
/ filter (6) -
shell
/ process-controller (6) -
shell
/ system-command (6) - shellwords (12)
検索結果
-
shell (26155.0)
-
Ruby 上で sh/csh のようにコマンドの実行及びフィルタリングを手軽に行うためのライブラリです。
...uby 上で sh/csh のようにコマンドの実行及びフィルタリングを手軽に行うためのライブラリです。
sh/csh の制御文は Ruby の機能を用いて実現します。
=== サンプル
==== Example 1:
require 'shell'
sh = Shell.cd("/tmp")
sh.mkdir "shell-test-......shell-test-1")
sh.cd("shell-test-1")
for dir in ["dir1", "dir3", "dir5"]
unless sh.exists?(dir)
sh.mkdir dir
sh.cd(dir) do
f = sh.open("tmpFile", "w")
f.puts "TEST"
f.close
end
print sh.pwd
end
end
==== Example 2:
require 'shell'
sh......= Shell.cd("/tmp")
sh.transact do
mkdir "shell-test-1" unless exists?("shell-test-1")
cd("shell-test-1")
for dir in ["dir1", "dir3", "dir5"]
if !exists?(dir)
mkdir dir
cd(dir) do
f = open("tmpFile", "w")
f.print "TEST\n"
f.close... -
shell
/ builtin-command (26001.0) -
Shell で使用するビルトインコマンドを定義しているライブラリです。
...Shell で使用するビルトインコマンドを定義しているライブラリです。... -
shell
/ command-processor (26001.0) -
Shell で使用可能なコマンドの大半を定義するライブラリです。
...Shell で使用可能なコマンドの大半を定義するライブラリです。... -
shell
/ error (26001.0) -
shell で使用する例外を定義したライブラリです。
...shell で使用する例外を定義したライブラリです。... -
shell
/ filter (26001.0) -
Shell::Filter を定義しているライブラリです。
...Shell::Filter を定義しているライブラリです。... -
shell
/ process-controller (26001.0) -
プロセスを制御するためのクラスを定義したライブラリです。
プロセスを制御するためのクラスを定義したライブラリです。 -
shell
/ system-command (26001.0) -
-
shellwords (26001.0)
-
UNIX Bourne シェルの単語分割規則に従った文字列分割機能と文字列エスケープ 機能を提供します。
...ます。
Shellwords モジュールは、空白区切りの単語分割を行う shellsplit、
文字列をエスケープする shellescape、文字列エスケープを文字列リストに
対して適用する shelljoin の3つのモジュール関数を提供します。
また、shellwords......ライブラリを require すると、組み込みクラス String
と Array が拡張され、これらのモジュール関数と同じ機能が
String#shellsplit, String#shellescape, Array#shelljoin として使える
ようになります。... -
English (6001.0)
-
特殊変数 $! などに英語名の別名 ($ERROR_INFO など)をつけます。
...特殊変数 $! などに英語名の別名 ($ERROR_INFO など)をつけます。
例:
p $/ #=> "\n"
p $RS #=> nil
require 'English'
p $RS #=> "\n"... -
digest
/ sha1 (6001.0) -
NIST (the US' National Institute of Standards and Technology) のSHA-1 Secure Hash Algorithmを実装するクラスを提供するライブラリです。
...NIST (the US' National Institute of Standards and Technology) のSHA-1
Secure Hash Algorithmを実装するクラスを提供するライブラリです。... -
digest
/ sha2 (6001.0) -
FIPS PUB 180-2に記述されているNIST (the US' National Institute of Standards and Technology) の以下のアルゴリズムを実装するクラスを提供す るライブラリです。
...FIPS PUB 180-2に記述されているNIST (the US' National Institute of
Standards and Technology) の以下のアルゴリズムを実装するクラスを提供す
るライブラリです。
* SHA-256 Secure Hash Algorithm
* SHA-384 Secure Hash Algorithm
* SHA-512 Secure Hash Algorithm... -
irb
/ cmd / pushws (6001.0) -
irb 中の irb_workspaces、irb_push_workspace、irb_pop_workspace コマンド のための拡張を定義したサブライブラリです。
...irb 中の irb_workspaces、irb_push_workspace、irb_pop_workspace コマンド
のための拡張を定義したサブライブラリです。
このライブラリで定義されているメソッドはユーザが直接使用するものではあ
りません。...