mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
b5538b8501
* Remove` Pry::Config::Default` * Remove `Pry::Config::Memoization` * Remove confusing use of `instance_eval` * Add `Pry::Config.defaults` Returns an instance of `Pry::Config`, initialized with Pry defaults. Replaces the previous role of `Pry::Config::Default`.
6 lines
185 B
Ruby
6 lines
185 B
Ruby
class Pry::BasicObject < BasicObject
|
|
[:Kernel, :File, :Dir, :LoadError, :ENV, :Pry].each do |constant|
|
|
const_set constant, ::Object.const_get(constant)
|
|
end
|
|
include Kernel
|
|
end
|