class RSpec::Mocks::Implementation
Represents a configured implementation. Takes into account any number of sub-implementations. @private
Attributes
Public Instance Methods
# File rspec-mocks/lib/rspec/mocks/message_expectation.rb, line 785 def call(*args, &block) actions.map do |action| action.call(*args, &block) end.last end
# File rspec-mocks/lib/rspec/mocks/message_expectation.rb, line 792 def present? actions.any? end