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

Initialize instance variable to remove warning

actions.rb:34: warning: instance variable @in_group not initialized
This commit is contained in:
Carlos Antonio da Silva 2013-01-07 22:51:16 -02:00
parent a0730e0027
commit b4ac65aa38

View file

@ -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.
#