1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Add 'group should not be changed' to Pry::Command.group .

This commit is contained in:
yui-knk 2013-12-21 20:19:25 +09:00
parent 75ec4fc5b7
commit 50460337fd

View file

@ -194,6 +194,7 @@ class Pry
# The group in which the command should be displayed in "help" output.
# This is usually auto-generated from directory naming, but it can be
# manually overridden if necessary.
# Group should not be changed once it is initialized.
def group(name=nil)
@group ||= if name
name