[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:
parent
7d42010fad
commit
e973f9cbb3
@ -1,7 +1,7 @@
|
|||||||
module IRB
|
module IRB
|
||||||
module HelperMethod
|
module HelperMethod
|
||||||
class Conf < Base
|
class Conf < Base
|
||||||
description "Returns the current context."
|
description "Returns the current IRB context."
|
||||||
|
|
||||||
def execute
|
def execute
|
||||||
IRB.CurrentContext
|
IRB.CurrentContext
|
||||||
|
@ -69,7 +69,7 @@ module TestIRB
|
|||||||
type "exit"
|
type "exit"
|
||||||
end
|
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
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user