Class: CodeDrivenDevelopment::Stubber::InstanceMethodStubber

Inherits:
AbstractStubber
  • Object
show all
Defined in:
lib/code_driven_development/stubber/instance_method_stubber.rb

Instance Method Summary collapse

Methods inherited from AbstractStubber

#befores, #body, #doubles, #initialize, #method_name

Constructor Details

This class inherits a constructor from CodeDrivenDevelopment::Stubber::AbstractStubber

Instance Method Details

#human_nameObject



8
9
10
# File 'lib/code_driven_development/stubber/instance_method_stubber.rb', line 8

def human_name
  method_name.to_s
end

#receiver_valueObject



4
5
6
# File 'lib/code_driven_development/stubber/instance_method_stubber.rb', line 4

def receiver_value
  "obj"
end