Method: Oktest::AssertionObject#method_missing
- Defined in:
-
lib/oktest.rb,
lib/oktest.rb
240 241 242 243 244 245 246 247 |
# File 'lib/oktest.rb', line 240 def method_missing(method_name, *args, **kwargs, &b) #; [!ttow6] raises NoMethodError when not a boolean method. return super unless method_name.to_s =~ /\?\z/ #; [!gd3vg] supports keyword arguments on Ruby >= 2.7. __method_missing(method_name, args, kwargs) { @actual.__send__(method_name, *args, **kwargs, &b) } end |