Sha256: d56014a67160ed6214008e5bb49191ad53c6966769c1d803f4ea114edc8652a3
Contents?: true
Size: 741 Bytes
Versions: 1
Compression:
Stored size: 741 Bytes
Contents
#!/usr/bin/env ruby require 'bundler/setup' require 'chronicle/etl' # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like. # (If you use this, don't forget to add pry to your Gemfile!) require 'pry' Pry.start def reload!(print = true) puts 'Reloading ...' if print # Main project directory. root_dir = File.expand_path('..', __dir__) # Directories within the project that should be reloaded. reload_dirs = %w[lib] # Loop through and reload every file in all relevant project directories. reload_dirs.each do |dir| Dir.glob("#{root_dir}/#{dir}/**/*.rb").each { |f| load(f) } end # Return true when complete. true end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chronicle-etl-0.6.1 | bin/console |