lib/nanoc/cli/error_handler.rb in nanoc-4.8.9 vs lib/nanoc/cli/error_handler.rb in nanoc-4.8.10

- old
+ new

@@ -144,26 +144,9 @@ write_load_paths(stream, verbose: true) end protected - # @return [Boolean] true if debug output is enabled, false if not - # - # @see Nanoc::CLI.debug? - def debug? - Nanoc::CLI.debug? - end - - # @return [Nanoc::Int::Site] The site that is currently being processed - def site - @command&.site - end - - # @return [Nanoc::Int::Compiler] The compiler for the current site - def compiler - site&.compiler - end - # @return [Hash<String, Array>] A hash containing the gem names as keys and gem versions as value def gems_and_versions gems = {} Gem::Specification.find_all.sort_by { |s| [s.name, s.version] }.each do |spec| gems[spec.name] ||= []