Object
# File test-unit-3.3.7/lib/test/unit/assertions.rb, line 1966 def initialize(array, inspected_objects) @inspected_objects = inspected_objects @array = array.collect do |element| Inspector.cached_new(element, @inspected_objects) end end
# File test-unit-3.3.7/lib/test/unit/assertions.rb, line 1961 def target?(object) object.is_a?(Array) end
# File test-unit-3.3.7/lib/test/unit/assertions.rb, line 1989 def each(&block) @array.each(&block) end
# File test-unit-3.3.7/lib/test/unit/assertions.rb, line 1973 def inspect @array.inspect end
# File test-unit-3.3.7/lib/test/unit/assertions.rb, line 1977 def pretty_print(q) q.group(1, '[', ']') do q.seplist(self) do |v| q.pp(v) end end end
# File test-unit-3.3.7/lib/test/unit/assertions.rb, line 1985 def pretty_print_cycle(q) @array.pretty_print_cycle(q) end
This page was generated for Ruby 3.0.1
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.44.2.