Merge pull request #1067 from yui-knk/add-comment-on-group
Add 'group should not be changed' to Pry::Command.group .
This commit is contained in:
commit
2260d65aea
|
@ -194,6 +194,7 @@ class Pry
|
||||||
# The group in which the command should be displayed in "help" output.
|
# The group in which the command should be displayed in "help" output.
|
||||||
# This is usually auto-generated from directory naming, but it can be
|
# This is usually auto-generated from directory naming, but it can be
|
||||||
# manually overridden if necessary.
|
# manually overridden if necessary.
|
||||||
|
# Group should not be changed once it is initialized.
|
||||||
def group(name=nil)
|
def group(name=nil)
|
||||||
@group ||= if name
|
@group ||= if name
|
||||||
name
|
name
|
||||||
|
|
Loading…
Reference in New Issue