168件ヒット
[1-100件を表示]
(0.117秒)
種類
- インスタンスメソッド (95)
- 定数 (22)
- 特異メソッド (22)
- 文書 (17)
- ライブラリ (12)
クラス
-
Enumerator
:: ArithmeticSequence (18) -
RDoc
:: Options (22) -
Rake
:: FileList (55) - Range (22)
- Socket (11)
モジュール
-
Socket
:: Constants (11)
キーワード
- == (6)
-
MCAST
_ EXCLUDE (22) -
clear
_ exclude (11) - exclude= (11)
-
exclude
_ end? (6) -
excluded
_ from _ list? (11) - hash (17)
- new (22)
- rdoc (11)
- resolve (11)
-
ruby 1
. 8 . 2 feature (11) -
test
/ unit (1) - 演算子式 (6)
検索結果
先頭5件
-
Rake
:: FileList # exclude(*patterns) {|entry| . . . } -> self (21125.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',... -
RDoc
:: Options # exclude -> Regexp (21117.0) -
コマンドライン引数の --exclude オプションで指定した正規表現を返します。 複数指定していた場合は、1 つの Regexp オブジェクトにまとめられた ものを返します。
...コマンドライン引数の --exclude オプションで指定した正規表現を返します。
複数指定していた場合は、1 つの Regexp オブジェクトにまとめられた
ものを返します。... -
Rake
:: FileList # excluded _ from _ list?(file _ name) -> bool (12206.0) -
与えられたファイル名が除外される場合は、真を返します。 そうでない場合は偽を返します。
...ile_name ファイル名を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb")
file_list.exclude("test1.rb")
fi......le_list.excluded_from_list?("test1.rb") # => true
file_list.excluded_from_list?("test2.rb") # => false
end
//}... -
RDoc
:: Options # exclude=(val) (9117.0) -
コマンドライン引数の --exclude オプションと同様の指定を行います。
...コマンドライン引数の --exclude オプションと同様の指定を行います。
@param val 設定するパターンを Regexp オブジェクトで指定します。... -
Rake
:: FileList # clear _ exclude -> self (9113.0) -
登録されている除外リストをクリアします。
...ist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test.rb", "test.bak")
file_list.exclude("test.rb")
# DEFAULT_IGNORE_PATTERNS と "test.rb" の双方の除外がクリアされる
file_list.clear_exclude
file_li... -
Enumerator
:: ArithmeticSequence # exclude _ end? -> bool (9101.0) -
末項(終端)を含まないとき真を返します。
末項(終端)を含まないとき真を返します。 -
Socket
:: Constants :: MCAST _ EXCLUDE -> Integer (6201.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 (6201.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... -
test
/ unit (6012.0) -
ユニットテストを行うためのライブラリです。
...してください。
* Test::Unit - Ruby用単体テストフレームワーク: https://test-unit.github.io/
なお、2.2.0より前のtest/unit は当時バンドルしていた minitest/unit を使って再実装し
ていましたが、上記のtest/unitと完全な互換性がある訳で......クの歴史(2014年版) https://www.clear-code.com/blog/2014/11/6.html
* RubyKaigi 2015:The history of testing framework in Ruby https://www.clear-code.com/blog/2015/12/12.html
=== 使い方
Test::Unit は以下のように使います。
まずテスト対象のソース(foo.rb)が必......ning testcase when --jobs specified
--ruby VAL Path to ruby; It'll have used at -j option
-q, --hide-skip Hide skipped tests
-b, --basedir=DIR Base directory of test suites.
-x, --exclude PATTERN Exclude test fi... -
Enumerator
:: ArithmeticSequence # hash -> Integer (3106.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
begin, end, step, exclude_end? が等しい Enumerable::ArithmeticSequence は
同じハッシュ値を返します。... -
Enumerator
:: ArithmeticSequence # ==(other) -> bool (3006.0) -
Enumerable::ArithmeticSequence として等しいか判定します。
...Enumerable::ArithmeticSequence として等しいか判定します。
other が Enumerable::ArithmeticSequence で
begin, end, step, exclude_end? が等しい時に
true を返します。
@param other 自身と比較する Enumerable::ArithmeticSequence... -
Rake
:: FileList # resolve -> self (3006.0) -
追加リストと除外リストを評価します。
.../emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test.rb", "test")
IO.write("test.java", "test")
IO.write("test.js", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("*.rb")
file_list.include("*.java")
file_list.exclude("*.js")
file_list.r...