Flowdock
method

message_with_trees

Importance_2
v2_6_3 - Show latest stable - 0 notes - Class: VersionConflict
  • 1_8_6_287
  • 1_8_7_72
  • 1_8_7_330
  • 1_9_1_378
  • 1_9_2_180
  • 1_9_3_125
  • 1_9_3_392
  • 2_1_10
  • 2_2_9
  • 2_4_6
  • 2_5_5
  • 2_6_3 (0)
  • What's this?
message_with_trees(opts = {}) public

@return [String] An error message that includes requirement trees,

which is much more detailed & customizable than the default message

@param [Hash] opts the options to create a message with. @option opts [String] :solver_name The user-facing name of the solver @option opts [String] :possibility_type The generic name of a possibility @option opts [Proc] :reduce_trees A proc that reduced the list of requirement trees @option opts [Proc] :printable_requirement A proc that pretty-prints requirements @option opts [Proc] :additional_message_for_conflict A proc that appends additional

messages for each conflict

@option opts [Proc] :version_for_spec A proc that returns the version number for a

possibility
Show source
Register or log in to add new notes.