• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/ruby-104/ruby/test/ruby/

Lines Matching defs:ruby

47   def ruby(*args)
49 ruby = EnvUtil.rubybin
50 f = IO.popen([ruby] + args, 'r+')
63 ruby('-e', src, *args) do |f|
67 assert_not_nil(a, "[ruby-dev:34445]: remained")
68 assert_equal($1, a.chomp, "[ruby-dev:34445]: line #{line+i}")
133 assert_in_out_err(["-", @t1.path, @t2.path], <<-INPUT, %w"1 1 1 2 2 2 3 3 1 4 4 2", [], "[ruby-core:25205]")
273 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
285 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
358 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
387 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
406 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
430 ruby('-e', 'STDERR.reopen(STDOUT); ARGF.gets; ARGF.skip; p ARGF.eof?', t1.path, t2.path) do |f|
436 ruby('-e', "p ARGF.read(8)", @t1.path, @t2.path, @t3.path) do |f|
442 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
452 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
462 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
472 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
490 ruby('-e', <<-SRC) do |f|
512 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
524 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
536 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
551 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
566 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
581 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
591 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
601 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
620 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
639 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
658 bug5268 = '[ruby-core:39234]'
660 ruby('-e', "ARGF.binmode; STDOUT.binmode; puts ARGF.read", @t1.path, @t2.path, @t3.path) do |f|
667 bug5268 = '[ruby-core:39234]'
669 ruby('-e', "STDOUT.binmode; puts ARGF.read", @t1.path, @t2.path, @t3.path) do |f|
676 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
687 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
696 ruby('-e', <<-SRC) do |f|
706 ruby('-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
721 ruby('-e', "p ARGF.argv; p $*", @t1.path, @t2.path, @t3.path) do |f|
728 bug4024 = '[ruby-dev:42538]'
741 bug4024 = '[ruby-dev:42538]'
754 bug4274 = '[ruby-core:34446]'
770 bug5952 = '[ruby-dev:45160]'
775 ruby('-W1', '-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
787 ruby('-W1', '-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
797 ruby('-W1', '-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|
807 ruby('-W1', '-e', <<-SRC, @t1.path, @t2.path, @t3.path) do |f|