Method: MotionSpec::Matcher::SingleMethod#initialize
- Defined in:
- lib/motion-spec/matcher/single_method.rb
#initialize(method_name, *values) ⇒ SingleMethod
Returns a new instance of SingleMethod.
5 6 7 8 |
# File 'lib/motion-spec/matcher/single_method.rb', line 5 def initialize(method_name, *values) @values = values @method_name = method_name end |