Sha256: 3465cc19afa7ef30a2c6770058a566ec18e88b6969bc73b9a0d8783d04962304
Contents?: true
Size: 511 Bytes
Versions: 8
Compression:
Stored size: 511 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'bundler/setup' require 'gistory' require 'pry' root_path = "#{File.dirname(__FILE__)}/.." # require all files in lib for quick access to them in the console Dir["#{root_path}/lib/**/*.rb"].each { |file| require file } def reload! verbosity = $VERBOSE begin $VERBOSE = nil files = $LOADED_FEATURES.select { |feat| feat =~ %r{/gistory/} } files.each { |file| load(file) } ensure $VERBOSE = verbosity end true end Pry.start
Version data entries
8 entries across 8 versions & 1 rubygems