diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-12-14 08:42:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-14 08:42:32 +0100 |
commit | e3e663f1dc40a5cfae9ec60e32f5372cd7f9885b (patch) | |
tree | 934087b744388b27b11f7486d62d5eb27683aef3 /railties | |
parent | 4cc82db4adfe02458eca59e312531b47a107ab33 (diff) | |
parent | 92dae5dfda9b72e748bb00f38603e8fda403089a (diff) | |
download | rails-e3e663f1dc40a5cfae9ec60e32f5372cd7f9885b.tar.gz rails-e3e663f1dc40a5cfae9ec60e32f5372cd7f9885b.tar.bz2 rails-e3e663f1dc40a5cfae9ec60e32f5372cd7f9885b.zip |
Merge pull request #27350 from y-yagi/use_appropriate_type_for_rc_option
use appropriate type for `rc` option
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/commands/plugin/plugin_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/plugin/plugin_command.rb b/railties/lib/rails/commands/plugin/plugin_command.rb index 16587ce067..b40ab006af 100644 --- a/railties/lib/rails/commands/plugin/plugin_command.rb +++ b/railties/lib/rails/commands/plugin/plugin_command.rb @@ -11,7 +11,7 @@ module Rails "#{executable} new [options]" end - class_option :rc, type: :boolean, default: File.join("~", ".railsrc"), + class_option :rc, type: :string, default: File.join("~", ".railsrc"), desc: "Initialize the plugin command with previous defaults. Uses .railsrc in your home directory by default." class_option :no_rc, desc: "Skip evaluating .railsrc." |