lib/nrser/described/resolution.rb
# Change to a *failed* state. From which there is no going back. This is
# called when we know we will never succeed.
# 
# @private
# 
# @param [Array] description
#   Entries to be merged into a {::String} description.
# 
# @param [Hash<Symbol, Object>] context
#   Names and values of relevant information.
# 
# @return [nil]
#   
Change to a *failed* state. From which there is no going back. This is
called when we know we will never succeed.
Change to a * failed * state . From which there is no going back . This is called when we know we will never succeed .
def failed! *description, **context
      @failed = true
      @failed_because = [
        description.map { |value|
          value.is_a?( ::String ) ? value : value.inspect
        }.join( ' ' ),
        context
      ]
      nil
    end
def failed! * description , ** context @failed = true @failed_because = [ description . map { | value | value . is_a? ( :: String ) ? value : value . inspect } . join ( ' ' ) , context ] nil end
Change to a *failed* state.
Change to a * failed * state .
None
nil
description
<not_specific>
context
<not_specific>
<not_specific>
context Names and values of relevant information.
context Names and values of relevant information .
private
None