bin/console in oscal-0.1.1 vs bin/console in oscal-0.2.0
- old
+ new
@@ -12,12 +12,12 @@
# Pry.start
require "irb"
def reload!(print = true)
- puts 'Reloading ...' if print
+ puts "Reloading ..." if print
# Main project directory.
- root_dir = File.expand_path('..', __dir__)
+ 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) }