Skip to content

Commit

Permalink
or-equal doesnt work with constants
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinLove committed Nov 27, 2011
1 parent 120f4fd commit a6c14b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/openid/yadis/xrires.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class XRIHTTPError < StandardError; end

class ProxyResolver

DEFAULT_PROXY ||= 'http://proxy.xri.net/'
DEFAULT_PROXY = 'http://proxy.xri.net/' unless defined?(DEFAULT_PROXY)

def initialize(proxy_url=nil)
if proxy_url
Expand Down

0 comments on commit a6c14b6

Please sign in to comment.