Skip to content

Commit

Permalink
Closes #243 - Make OmniAuth::Strategy inspect simple.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bleigh committed Apr 16, 2011
1 parent 76553b9 commit 3d1896e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion oa-core/lib/omniauth/strategy.rb
Expand Up @@ -17,7 +17,11 @@ def initialize(app, name, *args, &block)

yield self if block_given?
end


def inspect
"#<#{self.class.to_s}>"
end

def call(env)
dup.call!(env)
end
Expand Down

1 comment on commit 3d1896e

@jamiew
Copy link
Contributor

@jamiew jamiew commented on 3d1896e Apr 16, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\o/

Please sign in to comment.