Class: BaconExpect::Matcher::BeGeneric

Inherits:
SingleMethod show all
Defined in:
lib/bacon-expect/matchers/be_generic.rb

Instance Method Summary collapse

Methods inherited from SingleMethod

#fail!, #fail_message, #matches?

Constructor Details

#initialize(method_name, *values) ⇒ BeGeneric

Returns a new instance of BeGeneric.



3
4
5
# File 'lib/bacon-expect/matchers/be_generic.rb', line 3

def initialize(method_name, *values)
  super("#{method_name}?", *values)
end