Object
# File test-unit-3.3.4/lib/test/unit/attribute-matcher.rb, line 4 def initialize(test) @test = test end
# File test-unit-3.3.4/lib/test/unit/attribute-matcher.rb, line 8 def match?(expression) matched = instance_eval(expression) if matched.nil? false else matched end end
# File test-unit-3.3.4/lib/test/unit/attribute-matcher.rb, line 17 def method_missing(name, *args) if args.empty? @test[name] else super end end
This page was generated for Ruby 2.7.4
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.