class TarkaMatchers::Helpers::Expectation::Result
Public Class Methods
pass?(&b)
click to toggle source
# File lib/tarka_matchers/helpers/expectation/result.rb, line 5 def self.pass? &b error = true begin b.call rescue RSpec::Expectations::ExpectationNotMetError => error end error end