mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
[ruby/irb] Clarify that the context is IRB context
(https://github.com/ruby/irb/pull/950)
8cde57f55a
This commit is contained in:
parent
7d42010fad
commit
e973f9cbb3
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue