module Assert::Context::MethodMissing
Public Instance Methods
method_missing(method, *args, &block)
click to toggle source
Calls superclass method
# File lib/assert/context/method_missing.rb, line 9 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
respond_to_missing?(method, *)
click to toggle source
Calls superclass method
# File lib/assert/context/method_missing.rb, line 18 def respond_to_missing?(method, *) Assert::Assertions::IGNORED_ASSERTION_HELPERS.include?(method.to_sym) || super end