Sha256: 224a5cc9c6d0c61e26c08ad1f4e62af4f98df02a47d9f5b42426ff4d8a3aa921
Contents?: true
Size: 564 Bytes
Versions: 8
Compression:
Stored size: 564 Bytes
Contents
# frozen_string_literal: true require "assert/assertions" module Assert; end class Assert::Context; end module Assert::Context::MethodMissing def method_missing(method, *args, &block) if Assert::Assertions::IGNORED_ASSERTION_HELPERS.include?(method.to_sym) ignore "The assertion `#{method}` is not supported."\ " Please use another assertion or the basic `assert`." else super end end def respond_to_missing?(method, *) Assert::Assertions::IGNORED_ASSERTION_HELPERS.include?(method.to_sym) || super end end
Version data entries
8 entries across 8 versions & 1 rubygems