Permalink
Browse files

Initialize instance variable to remove warning

    actions.rb:34: warning: instance variable @in_group not initialized
  • Loading branch information...
carlosantoniodasilva committed Jan 8, 2013
1 parent a0730e0 commit b4ac65aa3855b806442934f6287d681e8bb0ef70
Showing with 4 additions and 0 deletions.
  1. +4 −0 railties/lib/rails/generators/actions.rb
@@ -4,6 +4,10 @@
module Rails
module Generators
module Actions
+ def initialize(*) # :nodoc:
+ super
+ @in_group = nil
+ end
# Adds an entry into Gemfile for the supplied gem.
#

0 comments on commit b4ac65a

Please sign in to comment.