ライブラリ
-
rexml
/ document (1) -
ripper
/ filter (2) -
shell
/ builtin-command (2) -
shell
/ filter (11) -
shell
/ system-command (1) - uri (2)
クラス
-
REXML
:: Text (1) -
Ripper
:: Filter (2) -
Shell
:: AppendFile (1) -
Shell
:: AppendIO (1) -
Shell
:: Filter (11) -
Shell
:: SystemCommand (1) -
URI
:: LDAP (2)
キーワード
- basename (1)
- chown (1)
- column (1)
- executable? (1)
-
executable
_ real? (1) - filter= (1)
- input (1)
- input= (3)
-
on
_ default (1) - out (1)
- setuid? (1)
-
super
_ each (1) - truncate (1)
- unlink (1)
- utime (1)
- value (1)
検索結果
先頭5件
-
URI
:: LDAP # filter -> String (63355.0) -
自身の filter を文字列で返します。
自身の filter を文字列で返します。 -
Shell
:: Filter # input=(filter) (27625.0) -
フィルターを設定します。
フィルターを設定します。
@param filter フィルターを指定します。 -
Shell
:: Filter # input -> Shell :: Filter | nil (27607.0) -
現在のフィルターを返します。
現在のフィルターを返します。 -
Shell
:: Filter # out(dev = STDOUT , &block) -> () (27604.0) -
Shell#transact を呼び出しその結果を dev に出力します。
Shell#transact を呼び出しその結果を dev に出力します。
@param dev 出力先をIO オブジェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
File.open("out.txt", "w"){ |fp|
sh.out(fp) {
system("ls", "-l") | head("-n 3")
}
} -
URI
:: LDAP # filter=(s) (27373.0) -
自身の filter を文字列で設定します。
自身の filter を文字列で設定します。
@param s 自身の filter を文字列で設定します。 -
Ripper
:: Filter # on _ default(event , token , data) -> object (27358.0) -
イベントハンドラが未定義のイベントが実行された場合に実行されるイベント ハンドラです。
イベントハンドラが未定義のイベントが実行された場合に実行されるイベント
ハンドラです。
@param event 実行されたイベントを :on_XXX 形式のシンボルで指定されます。
@param token 現在のトークンが指定されます。
@param data 前のイベントハンドラの戻り値です。最初のイベントの場合は
Ripper::Filter#parse の引数になります。
このメソッドの戻り値は次のイベントハンドラの data 引数に渡されます。
on_default をオーバライドしなかった場合は data 引数をそのまま返します。
@see R... -
Ripper
:: Filter # column -> Integer | nil (27304.0) -
現在のトークンの桁番号を 0 から始まる数値で返します。
現在のトークンの桁番号を 0 から始まる数値で返します。
このメソッドはイベントハンドラの中でのみ意味のある値を返します。イベン
トハンドラの中で self.column を実行してください。 -
Shell
:: Filter # executable?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable? -
Shell
:: Filter # executable _ real?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real? -
Shell
:: Filter # setuid?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#setuid? -
Shell
:: Filter # truncate(path , length) -> 0 (27304.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate -
Shell
:: Filter # unlink(path) -> self (27304.0) -
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
@param path 削除したいパスを指定します。
@see File.unlink, Dir.unlink -
Shell
:: Filter # utime(atime , mtime , *filename) -> Integer (27304.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。
@see File.utime -
Shell
:: AppendFile # input=(filter) (18607.0) -
@todo
@todo -
Shell
:: AppendIO # input=(filter) (18607.0) -
@todo
@todo -
REXML
:: Text # value -> String (18322.0) -
テキストの内容を非正規化(すべての実体をアンエスケープ)された状態で返します。
テキストの内容を非正規化(すべての実体をアンエスケープ)された状態で返します。
このメソッドの返り値では raw モードや entity_filter は無視されます。
@see REXML::Text#raw, REXML::Text#to_s
//emlist[][ruby]{
require 'rexml/document'
t = REXML::Text.new("< & foobar", false, nil, false)
t.to_s # => "< & foobar"
t.value # => "< & foobar"
//} -
Shell
:: SystemCommand # super _ each -> () (18322.0) -
@todo
@todo
Shell::Filter#each です。 -
Shell
:: Filter # basename(filename , suffix = "") -> String (9304.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
@see File.basename -
Shell
:: Filter # chown(owner , group , *filename) -> Integer (9304.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param owner chown(2) と同様に数値で指定します。nil または -1 を指定することで、オーナーを現在のままにすることができます。
@param group chown(2) と同様に数値で指定します。nil または -1 を指定することで、グループを現在のままにすることができます。
@param filename ファイル名を表す文字列を指定します。
@see File.chown