class RSpec::Mocks::Implementation
@private
any number of sub-implementations.
Represents a configured implementation. Takes into account
def actions
def actions [initial_action, inner_action, terminal_action].compact end
def call(*args, &block)
def call(*args, &block) actions.map do |action| action.call(*args, &block) end.last end
def present?
def present? actions.any? end