147件ヒット
[1-100件を表示]
(0.062秒)
別のキーワード
種類
- 定数 (48)
- モジュール関数 (48)
- インスタンスメソッド (36)
- 特異メソッド (15)
クラス
-
RDoc
:: Options (12) - Range (24)
- Shell (3)
- Socket (12)
- String (12)
モジュール
- Fcntl (12)
-
File
:: Constants (12) - Kernel (48)
-
Socket
:: Constants (12)
キーワード
-
MCAST
_ EXCLUDE (24) -
O
_ EXCL (12) -
debug
_ output _ exclusive _ unlock (3) - exclude (12)
-
exclude
_ end? (12) - new (12)
- spawn (48)
- upto (12)
検索結果
先頭5件
-
File
:: Constants :: EXCL -> Integer (18201.0) -
CREATと併用し、もしファイルが既にある場合には失敗します。 File.openで使用します。
CREATと併用し、もしファイルが既にある場合には失敗します。
File.openで使用します。 -
Shell
. debug _ output _ exclusive _ unlock { . . . } -> Mutex | nil (12200.0) -
@todo
...@todo
@see Mutex#exclusive_unlock... -
Range
# exclude _ end? -> bool (9100.0) -
範囲オブジェクトが終端を含まないとき真を返します。
...範囲オブジェクトが終端を含まないとき真を返します。
//emlist[例][ruby]{
(1..5).exclude_end? # => false
(1...5).exclude_end? # => true
//}... -
Fcntl
:: O _ EXCL -> Integer (6201.0) -
ファイルが存在する場合に失敗します。Fcntl::O_CREAT と一緒に使用します。
ファイルが存在する場合に失敗します。Fcntl::O_CREAT と一緒に使用します。 -
RDoc
:: Options # exclude -> Regexp (6200.0) -
コマンドライン引数の --exclude オプションで指定した正規表現を返します。 複数指定していた場合は、1 つの Regexp オブジェクトにまとめられた ものを返します。
...コマンドライン引数の --exclude オプションで指定した正規表現を返します。
複数指定していた場合は、1 つの Regexp オブジェクトにまとめられた
ものを返します。... -
Socket
:: Constants :: MCAST _ EXCLUDE -> Integer (6200.0) -
Exclusive multicast source filter
...Exclusive multicast source filter
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678... -
Socket
:: MCAST _ EXCLUDE -> Integer (6200.0) -
Exclusive multicast source filter
...Exclusive multicast source filter
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678... -
Range
. new(first , last , exclude _ end = false) -> Range (3200.0) -
first から last までの範囲オブジェクトを生成して返しま す。
...生成して返しま
す。
exclude_end が真ならば終端を含まない範囲オブジェクトを生
成します。exclude_end 省略時には終端を含みます。
@param first 最初のオブジェクト
@param last 最後のオブジェクト
@param exclude_end 真をセットした......含まない範囲オブジェクトを生成します
@raise ArgumentError first <=> last が nil の場合に発生します
//emlist[例: 整数の範囲オブジェクトの場合][ruby]{
Range.new(1, 10) # => 1..10
Range.new(1, 10, true) # => 1...10
//}
//emlist[例: 日付オブジェ......ェクトの場合][ruby]{
require 'date'
Range.new(Date.today, Date.today >> 1).each {|d| puts d }
# => 2017-09-16
# 2017-09-17
# ...
# 2017-10-16
//}
//emlist[例: IPアドレスの範囲オブジェクトの場合][ruby]{
require 'ipaddr'
Range.new(IPAddr.new("192.0.2.1"), IPAddr.new("1... -
String
# upto(max , exclusive = false) {|s| . . . } -> self (3100.0) -
self から始めて max まで 「次の文字列」を順番にブロックに与えて繰り返します。 「次」の定義については String#succ を参照してください。
...ng#succ を参照してください。
たとえば以下のコードは a, b, c, ... z, aa, ... az, ..., za を
出力します。
//emlist[][ruby]{
("a" .. "za").each do |str|
puts str
end
'a'.upto('za') do |str|
puts str
end
//}
@param max 繰り返しをやめる文字列
@param exclu... -
Kernel
. # spawn(env , program , *args , options={}) -> Integer (106.0) -
引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
...る場合があります。
=== 引数の解釈
この形式で呼び出した場合、空白や shell のメタキャラクタも
そのまま program の引数に渡されます。
先頭の引数が2要素の配列であった場合、第1要素の文字列が実際に
起動するプログラ......、envで指定した環境変数以外をすべてクリアします。
false だとクリアしません。false がデフォルトです。
: :pgroup
引数に true or 0 を渡すと新しいプロセスグループを作成し、そこで動きます。
整数を渡すと、指定した......=>["log", "w"]) # 0644 assumed
# write mode、パーミッション 0600 でファイルをオープンし、リダイレクトする。
pid = spawn(command, :out=>["log", "w", 0600])
# flagを文字列でなくビットで指定する
pid = spawn(command, :out=>["log", File::WRONLY|File::EXCL|File:...