Created
December 30, 2017 17:54
-
-
Save rameen/cc3869739bb85745562feec9e9ce8db1 to your computer and use it in GitHub Desktop.
Revisions
-
rameen created this gist
Dec 30, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ Pry.toplevel_binding.eval(File.read("./short_cuts.rb")) require 'rails/console/app' extend Rails::ConsoleMethods puts 'Rails Console Helpers loaded' require 'hirb' Hirb.enable Pry.config.print = proc do |output, value, _pry_| Hirb::View.view_or_page_output(value) || Pry::DEFAULT_PRINT.call(output, value, _pry_) end