Exclude option_parser from Test::Unit::Runner#inspect
This commit is contained in:
parent
308183fffa
commit
bbd105c445
@ -1441,6 +1441,14 @@ module Test
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def inspect
|
||||||
|
"#<#{self.class.name}: " <<
|
||||||
|
instance_variables.filter_map do |var|
|
||||||
|
next if var == :@option_parser # too big
|
||||||
|
"#{var}=#{instance_variable_get(var).inspect}"
|
||||||
|
end.join(", ") << ">"
|
||||||
|
end
|
||||||
|
|
||||||
##
|
##
|
||||||
# Top level driver, controls all output and filtering.
|
# Top level driver, controls all output and filtering.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user