类 Bundler::PubGrub::SolveFailure
属性
incompatibility[R]
公共类方法
new(incompatibility) 点击切换源码
# File bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb, line 7 def initialize(incompatibility) @incompatibility = incompatibility end
公共实例方法
explanation() 点击切换源码
# File bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb, line 15 def explanation @explanation ||= FailureWriter.new(@incompatibility).write end
to_s() 点击切换源码
# 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