1124件ヒット
[1101-1124件を表示]
(0.093秒)
クラス
- Array (168)
- CSV (24)
-
CSV
:: FieldInfo (12) -
CSV
:: Row (12) -
CSV
:: Table (60) - Enumerator (67)
-
Enumerator
:: Lazy (12) -
File
:: Stat (12) - Hash (36)
- MatchData (110)
- Matrix (36)
- NilClass (12)
- Object (36)
- OptionParser (12)
-
REXML
:: Attributes (12) -
REXML
:: Elements (12) -
Rake
:: FileList (36) - Range (14)
- Regexp (24)
-
RubyVM
:: InstructionSequence (12) - Set (12)
- String (176)
- Struct (30)
- Time (12)
- Vector (12)
モジュール
- Enumerable (163)
キーワード
- + (7)
- << (24)
- == (12)
- [] (48)
- atime (12)
- bytes (24)
- captures (12)
- chain (7)
- chars (24)
- chunk (12)
-
chunk
_ while (12) - codepoints (24)
-
col
_ sep (12) - combination (24)
- deconstruct (8)
- delete (12)
-
delete
_ if (24) - each (72)
-
each
_ codepoint (24) -
each
_ grapheme _ cluster (16) -
each
_ line (24) - entries (19)
- force (12)
-
grapheme
_ clusters (16) -
header
_ converters (12) - keys (12)
- length (12)
- line (12)
- lines (24)
- match (24)
-
max
_ by (48) - permutation (24)
-
repeated
_ combination (24) -
repeated
_ permutation (24) - sample (48)
- size (24)
-
slice
_ after (24) -
slice
_ before (24) -
slice
_ when (12) - tap (12)
-
to
_ ary (36) - values (24)
-
values
_ at (12)
検索結果
-
Object
# tap {|x| . . . } -> self (113.0) -
self を引数としてブロックを評価し、self を返します。
...めに
メソッドチェインに "入り込む" ことが、このメソッドの主目的です。
//emlist[][ruby]{
(1..10) .tap {|x| puts "original: #{x}" }
.to_a .tap {|x| puts "array: #{x}" }
.select {|x| x.even? } .tap {|x| puts "evens: #{x}" }... -
Rake
:: FileList # ==(array) -> bool (113.0) -
自身を配列に変換してから与えられた配列と比較します。
...列と比較します。
@param array 比較対象の配列を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new('lib/**/*.rb', 'test/test*.rb')
file_list == file_list.to_a # => true
end
//}...