6件ヒット
[1-6件を表示]
(0.075秒)
別のキーワード
クラス
-
File
:: Stat (1) - IO (1)
-
JSON
:: State (3) -
Net
:: FTP (1)
キーワード
-
debug
_ mode (1) -
quirks
_ mode (1) -
quirks
_ mode= (1) -
quirks
_ mode? (1)
検索結果
先頭5件
-
File
:: Stat # mode -> Integer (63343.0) -
ファイルモードを返します。
ファイルモードを返します。
//emlist[][ruby]{
fs = File::Stat.new($0)
printf "%o\n", fs.mode
#例
#=> 100644
//} -
IO
# stat -> File :: Stat (54712.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 ... -
JSON
:: State # quirks _ mode=(enable) (27403.0) -
If set to true, enables the quirks_mode mode.
If set to true, enables the quirks_mode mode. -
JSON
:: State # quirks _ mode -> bool (27358.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 (27358.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 (18343.0) -
デバッグモードであれば真を、そうでなければ偽を返します。
デバッグモードであれば真を、そうでなければ偽を返します。
値が真であるとき、送受信の記録と ABOR, STAT の結果が
$stdout に随時表示されます。
デフォルトは偽です。
@see Net::FTP#debug_mode=