るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.077秒)

別のキーワード

  1. set new
  2. stringio set_encoding
  3. _builtin set_encoding
  4. tracer set_get_line_procs
  5. set divide

ライブラリ

クラス

検索結果

File::Stat#setuid? -> bool (72625.0)

setuidされている時に真を返します。

setuidされている時に真を返します。

//emlist[][ruby]{
Dir.glob("/bin/*") {|bd|
if File::Stat.new(bd).setuid?
puts bd
end
}
#例
#...
#=> /bin/ping
#=> /bin/su
#...
//}

Pathname#setuid? -> bool (72607.0)

FileTest.setuid?(self.to_s) と同じです。

FileTest.setuid?(self.to_s) と同じです。


@see FileTest.#setuid?