72件ヒット
[1-72件を表示]
(0.019秒)
別のキーワード
クラス
-
File
:: Stat (12) - IO (12)
-
JSON
:: State (36) -
Net
:: FTP (12)
キーワード
-
debug
_ mode (12) -
quirks
_ mode (12) -
quirks
_ mode= (12) -
quirks
_ mode? (12)
検索結果
先頭5件
-
File
:: Stat # mode -> Integer (21114.0) -
ファイルモードを返します。
...ファイルモードを返します。
//emlist[][ruby]{
fs = File::Stat.new($0)
printf "%o\n", fs.mode
#例
#=> 100644
//}... -
IO
# stat -> File :: Stat (18237.0) -
ファイルのステータスを含む File::Stat オブジェクトを生成して 返します。
...ファイルのステータスを含む File::Stat オブジェクトを生成して
返します。
@raise Errno::EXXX ステータスの読み込みに失敗した場合に発生します。
@raise IOError 既に close されていた場合に発生します。
//emlist[例][ruby]{
IO.write("......testfile", "This is line one\nThis is line two\n")
File.open("testfile") do |f|
s = f.stat
"%o" % s.mode # => "100644"
s.blksize # => 4096
s.atime # => 2018-03-01 23:19:59 +0900
end
//}
@see File#lstat, File.stat, File.lstat... -
JSON
:: State # quirks _ mode=(enable) (9134.0) -
If set to true, enables the quirks_mode mode.
...If set to true, enables the quirks_mode mode.... -
JSON
:: State # quirks _ mode -> bool (9119.0) -
Returns true, if quirks mode is enabled. Otherwise returns false.
...Returns true, if quirks mode is enabled. Otherwise returns false.... -
JSON
:: State # quirks _ mode? -> bool (9119.0) -
Returns true, if quirks mode is enabled. Otherwise returns false.
...Returns true, if quirks mode is enabled. Otherwise returns false.... -
Net
:: FTP # debug _ mode -> bool (6114.0) -
デバッグモードであれば真を、そうでなければ偽を返します。
...デバッグモードであれば真を、そうでなければ偽を返します。
値が真であるとき、送受信の記録と ABOR, STAT の結果が
$stdout に随時表示されます。
デフォルトは偽です。
@see Net::FTP#debug_mode=...