Sha256: c54a6bd77c4e707378eec6e1be6be46c03ce365af8f13e8bfc9e9be604aff50a
Contents?: true
Size: 959 Bytes
Versions: 2
Compression:
Stored size: 959 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', '..', 'gems') require 'mack-facets' run_once do # This file gets loaded when you run: # rake console # It loads the following classes to make using the application via the console easier: # # * Mack::TestHelpers # * Mack::Routes::Urls fl = File.join_from_here('..') require File.join(fl, '..', '..', "bin", "gem_load_path.rb") require File.join(fl, '..', "mack.rb") require File.join(fl, "testing", "helpers.rb") # self.send(:include, Mack::TestHelpers) self.send(:include, Mack::Routes::Urls) # When using the Mack console if you edit any files # you can reload them in the console using this method # without having to exit the console and start again. def reload! ivar_cache("_rack_reloader") do Mack::Reloader.new(nil) end.reload! end # Prevent AutoRunner from getting executed when user exits out of console Test::Unit.run = true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mack-0.8.3 | lib/mack/boot/console.rb |
mack-0.8.3.1 | lib/mack/boot/console.rb |