debian-mirror-gitlab/spec/support/inspect_squelch.rb
2019-09-30 21:07:59 +05:30

7 lines
182 B
Ruby

# This class can generate a lot of output if it fails,
# so squelch the instance variable output.
class ActiveSupport::Cache::NullStore
def inspect
"<#{self.class}>"
end
end