Extend an instance of Object instead of creating a new class …
This commit is contained in:
parent
1ee8af8040
commit
c49f9e3aba
|
@ -24,9 +24,7 @@ class Pry
|
|||
end
|
||||
|
||||
def text
|
||||
@text ||= Class.new do
|
||||
extend Pry::Helpers::Text
|
||||
end
|
||||
@text ||= Object.new.extend Pry::Helpers::Text
|
||||
end
|
||||
|
||||
include Pry::Helpers::BaseHelpers
|
||||
|
|
Loading…
Reference in New Issue