Permalink
Browse files

Remove warnings "method redefined"

  • Loading branch information...
1 parent b93ec37 commit 4364add1c47f673d3e11a3ba271db9a0f621d102 @kachick kachick committed with sferik Jan 10, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/omniauth/strategy.rb
View
@@ -13,8 +13,6 @@ def self.included(base)
base.extend ClassMethods
base.class_eval do
- attr_reader :app, :env, :options, :response
-
option :setup, false
option :skip_info, false
end
@@ -106,6 +104,8 @@ def compile_stack(ancestors, method, context)
end
end
+ attr_reader :app, :env, :options, :response
+
# Initializes the strategy by passing in the Rack endpoint,
# the unique URL segment name for this strategy, and any
# additional arguments. An `options` hash is automatically

0 comments on commit 4364add

Please sign in to comment.