るりまサーチ

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

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. dsa p
  5. rsa p

ライブラリ

モジュール

キーワード

検索結果

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

RDoc::TopLevel#file_stat -> File::Stat (9219.0)

自身が管理するファイルに関する File::Stat オブジェクトを返します。

...自身が管理するファイルに関する File::Stat オブジェクトを返します。...

WEBrick::HTTPResponse#status=(status) (9207.0)

レスポンスのステータスコードを整数で指定します。 reason_phrase も適切なものに設定されます。

...数で指定します。
reason_phrase も適切なものに設定されます。

@param status ステータスコードを整数で指定します。

require 'webrick'
res = WEBrick::HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.status = 404

p
res.reason_phrase #=> "Not Found"...

Pathname#lstat -> File::Stat (9202.0)

File.lstat(self.to_s) と同じです。

...File.lstat(self.to_s) と同じです。


@see File.lstat...

Shell::CommandProcessor#lstat(filename) -> File::Stat (9202.0)

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

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

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

@see File.lstat...

JSON::State#depth=(depth) (9201.0)

This sets the maximum level of data structure nesting in the generated JSON to the integer depth, max_nesting = 0 if no maximum should be checked.

...This sets the maximum level of data structure nesting in the generated
JSON to the integer depth, max_nesting = 0 if no maximum should be
checked....

絞り込み条件を変える

File::Stat#ftype -> String (9125.0)

ファイルのタイプを表す文字列を返します。

...うちのいずれかです。

"file"
"directory"
"characterSpecial"
"blockSpecial"
"fifo"
"link"
"socket"

"unknown"


//emlist[例][ruby]{
fs = File::Stat.new($0)
p
fs.ftype #=> "file"
p
File::Stat.new($:[0]).ftype #=> "directory"
//}


1.8 以降では、属性メソッドがシ...

RDoc::TopLevel#file_stat=(val) (9124.0)

自身が管理するファイルに関する File::Stat オブジェクトを設定しま す。

...自身が管理するファイルに関する File::Stat オブジェクトを設定しま
す。

@param val File::Stat オブジェクトを指定します。...

File::Stat#grpowned? -> bool (9113.0)

グループIDが実効グループIDと等しい時に真を返します。

...ープIDと等しい時に真を返します。

補助グループIDは考慮されません。

//emlist[][ruby]{
p
rintf "%s %s\n", $:[0], File::Stat.new($:[0]).grpowned?
#例
#=> /usr/local/lib/site_ruby/1.8 false
p
rintf "%s %s\n", $0, File::Stat.new($0).grpowned?
#例
#=> filestat.rb true
//}...

File::Stat#pipe? -> bool (9113.0)

無名パイプおよび名前つきパイプ(FIFO)の時に真を返します。

...無名パイプおよび名前つきパイプ(FIFO)の時に真を返します。

//emlist[][ruby]{
system("mkfifo /tmp/pipetest")
p
File::Stat.new("/tmp/pipetest").pipe? #=> true
//}...

Net::IMAP#status(mailbox, attr) -> {String => Integer} (9107.0)

STATUS コマンドを送り、mailbox のステータスを得ます。

...STATUS コマンドを送り、mailbox のステータスを得ます。

問い合わせたいステータスは attr に文字列の配列で渡します。

返り値は アトリビュート文字列をキーとするハッシュです。

詳しくは 2060 の 6.3.10 を参考にしてくださ...
...い。

例:
p
imap.status("inbox", ["MESSAGES", "RECENT"])
#=> {"RECENT"=>0, "MESSAGES"=>44}

@param mailbox 問い合わせ対象のメールボックス(文字列)
@param attr 問合せたいアトリビュート名(文字列)の配列
@raise Net::IMAP::NoResponseError メールボックス...

絞り込み条件を変える

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