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:
parent
a0730e0027
commit
b4ac65aa38
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue