Class: Yoda

Inherits:
Object show all
Defined in:
lib/yoda.rb

Defined Under Namespace

Classes: Equality, Expectation, FailMe, InEquality, ValueExpectation

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.fail_me(x, op, y) ⇒ Object

Raises:



4
5
6
# File 'lib/yoda.rb', line 4

def self.fail_me x, op, y
  raise Yoda::FailMe, "Fail me you did: #{x} #{op} #{y}"
end