class Thor::Shell::HTML
def diff_lcs_loaded? #:nodoc:
for diff.
Check if Diff::LCS is loaded. If it is, use it to create pretty output
def diff_lcs_loaded? #:nodoc: return true if defined?(Diff::LCS) return @diff_lcs_loaded unless @diff_lcs_loaded.nil? @diff_lcs_loaded = begin require 'diff/lcs' true rescue LoadError false end end