Object
# File test-unit-3.3.7/lib/test/unit/attribute-matcher.rb, line 4 def initialize(test) @test = test end
# File test-unit-3.3.7/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.7/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 3.0.1
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.44.2.