Module: EvalRuby::RSpecMatchers
- Defined in:
- lib/eval_ruby/rspec.rb
Defined Under Namespace
Classes: BeFaithfulTo, HavePrecisionAtK
Instance Method Summary collapse
Instance Method Details
#be_faithful_to(context, judge: nil) ⇒ BeFaithfulTo
85 86 87 |
# File 'lib/eval_ruby/rspec.rb', line 85 def be_faithful_to(context, judge: nil) BeFaithfulTo.new(context, judge: judge) end |
#have_precision_at_k(k) ⇒ HavePrecisionAtK
91 92 93 |
# File 'lib/eval_ruby/rspec.rb', line 91 def have_precision_at_k(k) HavePrecisionAtK.new(k) end |