るりまサーチ

最速Rubyリファレンスマニュアル検索!
921件ヒット [101-200件を表示] (0.125秒)
トップページ > クエリ:-[x] > クエリ:d[x] > クエリ:filter[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

モジュール

キーワード

検索結果

<< < 1 2 3 4 ... > >>

Shell::Filter#blockdev?(file) -> bool (9200.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#blockdev?...

Shell::Filter#chardev?(file) -> bool (9200.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#chardev?...

Shell::Filter#chmod(mode, *filename) -> Integer (9200.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param filename ファイル名を表す文字列を指定します。

@param mode chmod(2) と同様に整数で指定します。

@see File.chmod...

Shell::Filter#delete(*filename) -> Integer (9200.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param filename ファイル名を表す文字列を指定します。

@see File.delete...

Shell::Filter#directory?(file) -> bool (9200.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#directory?...

絞り込み条件を変える

Shell::Filter#dirname(filename) -> String (9200.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param filename ファイル名を表す文字列を指定します。

@see File.dirname...

Shell::Filter#grpowned?(file) -> bool (9200.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#grpowned?...

Shell::Filter#mkdir(*path) -> Array (9200.0)

Dir.mkdirと同じです。 (複数可)

...
D
ir.mkdirと同じです。 (複数可)

@param path 作成するディレクトリ名を文字列で指定します。

@return 作成するディレクトリの一覧の配列を返します。

使用例
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
p sh.mkdir("foo") #=>...
...["foo"]
rescue => err
puts err
end...

Shell::Filter#owned?(file) -> bool (9200.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#owned?...

Shell::Filter#readable?(file) -> bool (9200.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#readable?...

絞り込み条件を変える

Shell::Filter#readable_real?(file) -> bool (9200.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#readable_real?...

Shell::Filter#readlink(path) -> String (9200.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param path シンボリックリンクを表す文字列を指定します。

@see File.readlink...

Shell::Filter#rmdir(*path) -> () (9200.0)

Dir.rmdirと同じです。 (複数可)

...
D
ir.rmdirと同じです。 (複数可)

@param path 削除するディレクトリ名を文字列で指定します。...

Shell::Filter#setgid?(file) -> bool (9200.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#setgid?...

Shell::Filter#setuid?(file) -> bool (9200.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#setuid?...

絞り込み条件を変える

Shell#append(to, filter) -> Shell::AppendFile | Shell::AppendIO (6313.0)

@todo

...@todo

@param to 文字列か IO を指定します。

@param filter Shell::Filter のインスタンスを指定します。...

Shell::CommandProcessor#append(to, filter) -> Shell::AppendFile | Shell::AppendIO (6313.0)

@todo

...@todo

@param to 文字列か IO を指定します。

@param filter Shell::Filter のインスタンスを指定します。...

Hash#filter! -> Enumerator (6232.0)

キーと値を引数としてブロックを評価した結果が真であるような要素を self に残します。

...数としてブロックを評価した結果が真であるような要素を self
に残します。

keep_if は常に self を返します。
filter
! と select! はオブジェクトが変更された場合に self を、
されていない場合に nil を返します。

ブロックが与え...
..._index {|e, i| h1[i] = e }

h2 = h1.dup
h1.select! # => #<Enumerator: {0=>"a", 1=>"b", 2=>"c", 3=>"d", 4=>"e", 5=>"f", 6=>"g"}:select!>

h1.select! { |k, v| k % 3 == 0 } # => {0=>"a", 3=>"d", 6=>"g"}
h1.select! { |k, v| true } # => nil
h2.keep_if { |k, v| k % 3 == 0 } # => {0=>"a", 3=>"d",...
...6=>"g"}
h2.keep_if { |k, v| true } # => {0=>"a", 3=>"d", 6=>"g"}
//}

@see Hash#select, Hash#delete_if, Hash#reject!...
<< < 1 2 3 4 ... > >>