Skip to content

Commit

Permalink
Remove warnings "method redefined"
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick authored and sferik committed Mar 13, 2013
1 parent b93ec37 commit 4364add
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/omniauth/strategy.rb
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4364add

Please sign in to comment.