285件ヒット
[1-100件を表示]
(0.094秒)
種類
- インスタンスメソッド (198)
- 文書 (26)
- 定数 (24)
- 特異メソッド (24)
- ライブラリ (13)
クラス
-
Enumerator
:: ArithmeticSequence (21) -
RDoc
:: Options (24) -
Rake
:: FileList (36) - Range (117)
- Socket (12)
モジュール
-
Rake
:: Cloneable (24) -
Socket
:: Constants (12)
キーワード
- == (19)
-
MCAST
_ EXCLUDE (24) -
NEWS for Ruby 2
. 6 . 0 (7) - clone (12)
- cover? (19)
- dup (12)
- end (12)
- eql? (12)
- exclude= (12)
-
exclude
_ end? (19) -
excluded
_ from _ list? (12) - hash (19)
- last (24)
- new (24)
- overlap? (2)
- rdoc (12)
-
ruby 1
. 8 . 2 feature (12) -
test
/ unit (1) - 演算子式 (7)
検索結果
先頭5件
-
NEWS for Ruby 2
. 6 . 0 (26012.0) -
NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.6.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......トは ChangeLog ファイルか bugs.ruby-lang.org の issue を参照してください。
== 2.5.0 以降の変更
=== 言語仕様の変更
* $SAFE はプロセスグローバルで扱われることになると共に、0以外を設定した後に0に戻せるようになりました。 14......うになりました。
* メソッドの行番号がずれていたのを修正しました。
* 無視されていた --width, --exclude, --line-numbers を有効にしました。
* デフォルトのマークアップ記法で ">>>" による引用をサポートしました。... -
ruby 1
. 8 . 2 feature (23024.0) -
ruby 1.8.2 feature ruby 1.8.2 での ruby 1.8.1 からの変更点です。
...* [bug]: バグ修正
* [new]: 追加されたクラス/メソッドなど
* [compat]: 変更されたクラス/メソッドなど
* 互換性のある変更
* only backward-compatibility
* 影響の範囲が小さいと思われる変更
* [change]: 変更されたクラス......更)
* [experimental]: 変更の中でも特に実験的なもの(将来再考して欲しいもの?)
* [obsolete]: 廃止された(される予定の)機能
* [platform]: 対応プラットフォームの追加
== 1.8.1 (2003-12-25) -> 1.8.2 (2004-12-25)
* cgi/session においてクラ......String#issjis
: String#isutf8
=== 2004-11-18
: StringIO.new [lib] [compat]
StringIO.newの第二引数にIO.newと同様、Fixnum も指定できるようになりました。
((<ruby-dev:24896>))
=== 2004-11-16
: Test::Unit::AutoRunner.options [lib] [compat]
add new option --exclude (-x)... -
RDoc
:: Options # exclude -> Regexp (21117.0) -
コマンドライン引数の --exclude オプションで指定した正規表現を返します。 複数指定していた場合は、1 つの Regexp オブジェクトにまとめられた ものを返します。
...コマンドライン引数の --exclude オプションで指定した正規表現を返します。
複数指定していた場合は、1 つの Regexp オブジェクトにまとめられた
ものを返します。... -
Rake
:: FileList # exclude(*patterns) {|entry| . . . } -> self (18225.0) -
自身から取り除くべきファイル名のパターンを自身の除外リストに登録します。
...例:
FileList['a.c', 'b.c'].exclude("a.c") # => ['b.c']
FileList['a.c', 'b.c'].exclude(/^a/) # => ['b.c']
# If "a.c" is a file, then ...
FileList['a.c', 'b.c'].exclude("a.*") # => ['b.c']
# If "a.c" is not a file, then ...
FileList['a.c', 'b.c'].exclude("a.*") # => ['a.c', 'b.c']... -
Range
# exclude _ end? -> bool (12213.0) -
範囲オブジェクトが終端を含まないとき真を返します。
...範囲オブジェクトが終端を含まないとき真を返します。
//emlist[例][ruby]{
(1..5).exclude_end? # => false
(1...5).exclude_end? # => true
//}... -
Enumerator
:: ArithmeticSequence # exclude _ end? -> bool (12201.0) -
末項(終端)を含まないとき真を返します。
末項(終端)を含まないとき真を返します。 -
Socket
:: Constants :: MCAST _ EXCLUDE -> Integer (9201.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... -
RDoc
:: Options # exclude=(val) (9117.0) -
コマンドライン引数の --exclude オプションと同様の指定を行います。
...コマンドライン引数の --exclude オプションと同様の指定を行います。
@param val 設定するパターンを Regexp オブジェクトで指定します。... -
Rake
:: Cloneable # clone -> object (9106.0) -
自身を複製します。
...ています。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
clone = file_list.clone
clone # => ["a.c", "b.c"]
clone.exclude("a.c")
clone == file_list # => false
end
//}... -
Range
. new(first , last , exclude _ end = false) -> Range (6219.0) -
first から last までの範囲オブジェクトを生成して返しま す。
...成して返しま
す。
exclude_end が真ならば終端を含まない範囲オブジェクトを生
成します。exclude_end 省略時には終端を含みます。
@param first 最初のオブジェクト
@param last 最後のオブジェクト
@param exclude_end 真をセットした場......ntError first <=> last が nil の場合に発生します
//emlist[例: 整数の範囲オブジェクトの場合][ruby]{
Range.new(1, 10) # => 1..10
Range.new(1, 10, true) # => 1...10
//}
//emlist[例: 日付オブジェクトの範囲オブジェクトの場合][ruby]{
require 'date'
Ran......ge.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("192.0.2.3")).each {|ip| puts ip}
# => 192.0.2....