lib/demiurge/intention.rb
# This cancels the intention, and gives the reason for the
# cancellation.
#
# @param reason [String] A human-readable reason this action was cancelled
# @param info [Hash] A String-keyed Hash of additional information about the cancellation
# @return [void]
# @since 0.0.1
This cancels the intention, and gives the reason for the
cancellation.
This cancels the intention and gives the reason for the cancellation .
def cancel(reason, info = {})
      @cancelled = true
      @cancelled_by = caller(1, 1)
      @cancelled_reason = reason
      @cancelled_info = info
      cancel_notification
      nil
    end
def cancel ( reason , info = { } ) @cancelled = true @cancelled_by = caller ( 1 , 1 ) @cancelled_reason = reason @cancelled_info = info cancel_notification nil end
This cancels the intention, and gives the reason for the
cancellation.
This cancels the intention and gives the reason for the cancellation .
None
void
reason
A human-readable reason this action was cancelled
A human - readable reason this action was cancelled
info
A String-keyed Hash of additional information about the cancellation
A String - keyed Hash of additional information about the cancellation
since
None