Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initialize instance variable to remove warning

    actions.rb:34: warning: instance variable @in_group not initialized
  • Loading branch information...
commit b4ac65aa3855b806442934f6287d681e8bb0ef70 1 parent a0730e0
@carlosantoniodasilva carlosantoniodasilva authored
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.
#
Please sign in to comment.
Something went wrong with that request. Please try again.