Module: Matchers

Included in:
Example
Defined in:
lib/pidgin_spec/matchers.rb,
lib/pidgin_spec/matchers/be.rb,
lib/pidgin_spec/matchers/end_with.rb,
lib/pidgin_spec/matchers/base_matcher.rb,
lib/pidgin_spec/matchers/dey_equal_to.rb

Defined Under Namespace

Classes: BaseMatcher, Be, DeyEqualTo, EndWith

Instance Method Summary collapse

Instance Method Details

#be(expected) ⇒ Object



2
3
4
# File 'lib/pidgin_spec/matchers.rb', line 2

def be(expected)
  Be.new(expected)
end

#dey_equal_to(expected) ⇒ Object



6
7
8
# File 'lib/pidgin_spec/matchers.rb', line 6

def dey_equal_to(expected)
  DeyEqualTo.new(expected)
end

#end_with(*expected) ⇒ Object



10
11
12
# File 'lib/pidgin_spec/matchers.rb', line 10

def end_with(*expected)
  EndWith.new(expected)
end