Class: Object

Inherits:
BasicObject
Defined in:
lib/algebrick/matchers/wrapper.rb

Overview

allow to convert any object to matcher if it has #=== method

Instance Method Summary (collapse)

Instance Method Details

- (Object) to_m



52
53
54
# File 'lib/algebrick/matchers/wrapper.rb', line 52

def to_m
  Wrapper.new(self)
end