diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-07 22:51:16 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-07 22:51:17 -0200 |
commit | b4ac65aa3855b806442934f6287d681e8bb0ef70 (patch) | |
tree | 3199cfde0f48ee61d71297356a85daff9728cd0d /railties/lib | |
parent | a0730e00275842dd3545c61b68bbd8c41a361efe (diff) | |
download | rails-b4ac65aa3855b806442934f6287d681e8bb0ef70.tar.gz rails-b4ac65aa3855b806442934f6287d681e8bb0ef70.tar.bz2 rails-b4ac65aa3855b806442934f6287d681e8bb0ef70.zip |
Initialize instance variable to remove warning
actions.rb:34: warning: instance variable @in_group not initialized
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/actions.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/actions.rb b/railties/lib/rails/generators/actions.rb index 71cb0b903b..cb3aca5811 100644 --- a/railties/lib/rails/generators/actions.rb +++ b/railties/lib/rails/generators/actions.rb @@ -4,6 +4,10 @@ require 'rbconfig' module Rails module Generators module Actions + def initialize(*) # :nodoc: + super + @in_group = nil + end # Adds an entry into Gemfile for the supplied gem. # |