class Bundler::PubGrub::SolveFailure
Attributes
incompatibility[R]
Public Class Methods
new(incompatibility)
click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb, line 7 def initialize(incompatibility) @incompatibility = incompatibility end
Public Instance Methods
explanation()
click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb, line 15 def explanation @explanation ||= FailureWriter.new(@incompatibility).write end
to_s()
click to toggle source
# File bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb, line 11 def to_s "Could not find compatible versions\n\n#{explanation}" end