module Pry::Testable

def self.included(mod)

Returns:
  • (void) -

Parameters:
  • mod (Module) --

Other tags:
    Note: -
def self.included(mod)
  mod.module_eval do
    include Pry::Testable::Mockable
    include Pry::Testable::Evalable
    include Pry::Testable::Variables
    include Pry::Testable::Utility
  end
end

def self.set_testenv_variables

Returns:
  • (void) -
def self.set_testenv_variables
  Pry.config = Pry::Config.new.merge(
    color: false,
    pager: false,
    should_load_rc: false,
    should_load_local_rc: false,
    correct_indent: false,
    collision_warning: false,
    history_save: false,
    history_load: false,
    hooks: Pry::Hooks.new
  )
end

def self.unset_testenv_variables

Returns:
  • (void) -
def self.unset_testenv_variables
  Pry.config = Pry::Config.new
end