class YARD::RegistryStore
def load_checksums
def load_checksums return unless File.file?(checksums_path) lines = File.readlines(checksums_path).map do |line| line.strip.rpartition(' ').tap { |p| p.delete_at(1) } end @checksums = Hash[lines] end
def load_checksums return unless File.file?(checksums_path) lines = File.readlines(checksums_path).map do |line| line.strip.rpartition(' ').tap { |p| p.delete_at(1) } end @checksums = Hash[lines] end