2件ヒット
[1-2件を表示]
(0.123秒)
クラス
-
Net
:: FTP :: MLSxEntry (1) -
Rake
:: FileList (1)
検索結果
-
Rake
:: FileList # ==(array) -> bool (72976.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
//} -
Net
:: FTP :: MLSxEntry # file? -> bool (45643.0) -
エントリの種類がファイルであれば true を返します。
エントリの種類がファイルであれば true を返します。
Net::FTP::MLSxEntry#type == "file" と同じ意味です。