123456789_123456789_123456789_123456789_123456789_

Class: WEBrick::HTTPRequest Private

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: lib/yard/server/webrick_adapter.rb

Instance Attribute Summary

Instance Attribute Details

#version_supplied (rw)

[ GitHub ]

  
# File 'lib/yard/server/webrick_adapter.rb', line 43

attr_accessor :version_supplied

#xhr?Boolean (readonly)

[ GitHub ]

  
# File 'lib/yard/server/webrick_adapter.rb', line 44

def xhr?; (self['X-Requested-With'] || "").casecmp('xmlhttprequest') == 0 end