Sha256: 036da5942e49bc0dd615af2c4ca68b8c4766c5aeb69e15f5a787bdfe6df5ea54
Contents?: true
Size: 587 Bytes
Versions: 13
Compression:
Stored size: 587 Bytes
Contents
# frozen_string_literal: true require "json" if defined?(Rails) # https://wiki.hackzine.org/development/misc/readline-color-prompt.html Pry.config.prompt_name = if Rails.env.production? "\001\e[0m\002PROD" else "\001\e[0m\002dev" end end Pry.config.pager = false def define_byebug_aliases! if defined?(PryByebug) Pry.commands.alias_command "c", "continue" Pry.commands.alias_command "s", "step" Pry.commands.alias_command "n", "next" Pry.commands.alias_command "f", "finish" end end extend Rails::ConsoleMethods if defined?(Rails::ConsoleMethods)
Version data entries
13 entries across 13 versions & 1 rubygems