mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Extend an instance of Object instead of creating a new class …
This commit is contained in:
parent
1ee8af8040
commit
c49f9e3aba
1 changed files with 1 additions and 3 deletions
|
@ -24,9 +24,7 @@ class Pry
|
||||||
end
|
end
|
||||||
|
|
||||||
def text
|
def text
|
||||||
@text ||= Class.new do
|
@text ||= Object.new.extend Pry::Helpers::Text
|
||||||
extend Pry::Helpers::Text
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
include Pry::Helpers::BaseHelpers
|
include Pry::Helpers::BaseHelpers
|
||||||
|
|
Loading…
Reference in a new issue