5件ヒット
[1-5件を表示]
(0.028秒)
クラス
-
Rake
:: FileList (4) -
Rake
:: TaskArguments (1)
検索結果
先頭5件
-
Rake
:: FileList # ==(array) -> bool (346.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
/... -
Rake
:: FileList # import(array) -> self (346.0) -
与えられた配列を自身にインポートします。
...param array ファイル名のリストを指定します。
//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", "test3.rb")
file_li... -
Rake
:: TaskArguments # names -> Array (328.0) -
パラメータ名のリストを返します。
...パラメータ名のリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])
arguments.names # => ["name1", "name2"]
end
//}... -
Rake
:: FileList # is _ a?(klass) -> bool (91.0) -
自身に Array のフリをさせます。
...自身に Array のフリをさせます。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.is_a?(Array) # => true
file_list.is_a?(String) # => false
end
//}... -
Rake
:: FileList # kind _ of?(klass) -> bool (91.0) -
自身に Array のフリをさせます。
...自身に Array のフリをさせます。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.is_a?(Array) # => true
file_list.is_a?(String) # => false
end
//}...