Skip to content
Browse files

Initialize instance variable to remove warning

    actions.rb:34: warning: instance variable @in_group not initialized
  • Loading branch information...
1 parent a0730e0 commit b4ac65aa3855b806442934f6287d681e8bb0ef70 @carlosantoniodasilva carlosantoniodasilva committed Jan 7, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 railties/lib/rails/generators/actions.rb
View
4 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.
Something went wrong with that request. Please try again.