diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-12-31 19:17:12 +0100 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-12-31 19:25:18 +0100 |
commit | 1e3d6482ccf2fb885957419eff0c237a8aeccf13 (patch) | |
tree | 4f7360d0ff4473728cc6031818c67caeadd90165 /railties/lib/rails/command | |
parent | 46da4b143f742ae8803f70e0718fe6ada27f7f82 (diff) | |
download | rails-1e3d6482ccf2fb885957419eff0c237a8aeccf13.tar.gz rails-1e3d6482ccf2fb885957419eff0c237a8aeccf13.tar.bz2 rails-1e3d6482ccf2fb885957419eff0c237a8aeccf13.zip |
Match Thor's `desc` signature.
It can also take an options hash.
Diffstat (limited to 'railties/lib/rails/command')
-rw-r--r-- | railties/lib/rails/command/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/command/base.rb b/railties/lib/rails/command/base.rb index 3f36c91c74..7ae190433a 100644 --- a/railties/lib/rails/command/base.rb +++ b/railties/lib/rails/command/base.rb @@ -22,7 +22,7 @@ module Rails # Tries to get the description from a USAGE file one folder above the command # root. - def desc(usage = nil, description = nil) + def desc(usage = nil, description = nil, options = {}) if usage super else |