Object
# File test-unit-3.3.4/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.4/lib/test/unit/assertions.rb, line 1961 def target?(object) object.is_a?(Array) end
# File test-unit-3.3.4/lib/test/unit/assertions.rb, line 1989 def each(&block) @array.each(&block) end
# File test-unit-3.3.4/lib/test/unit/assertions.rb, line 1973 def inspect @array.inspect end
# File test-unit-3.3.4/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.4/lib/test/unit/assertions.rb, line 1985 def pretty_print_cycle(q) @array.pretty_print_cycle(q) end
This page was generated for Ruby 2.7.5
Ruby-doc.org is a service of James Britt and Neurogami, purveyors of fine dance noise.
Generated with Ruby-doc Rdoc Generator 0.42.0.