lib/yard/server/webrick_adapter.rb in yard-0.7.4 vs lib/yard/server/webrick_adapter.rb in yard-0.7.5
- old
+ new
@@ -36,7 +36,8 @@
end
end
# @private
class WEBrick::HTTPRequest
+ attr_accessor :version_supplied
def xhr?; (self['X-Requested-With'] || "").downcase == 'xmlhttprequest' end
end