зеркало из https://github.com/github/ruby.git
[ruby/irb] Clarify that the context is IRB context
(https://github.com/ruby/irb/pull/950) https://github.com/ruby/irb/commit/8cde57f55a
This commit is contained in:
Родитель
7d42010fad
Коммит
e973f9cbb3
|
@ -1,7 +1,7 @@
|
|||
module IRB
|
||||
module HelperMethod
|
||||
class Conf < Base
|
||||
description "Returns the current context."
|
||||
description "Returns the current IRB context."
|
||||
|
||||
def execute
|
||||
IRB.CurrentContext
|
||||
|
|
|
@ -69,7 +69,7 @@ module TestIRB
|
|||
type "exit"
|
||||
end
|
||||
|
||||
assert_match(/Helper methods\s+conf\s+Returns the current context/, out)
|
||||
assert_match(/Helper methods\s+conf\s+Returns the current IRB context/, out)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче