mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-08-10 00:01:27 -04:00
removed the nodocs
This commit is contained in:
parent
c6535772df
commit
019b41a70c
@ -59,7 +59,6 @@ module HTTPX
|
||||
@options || Options.new
|
||||
end
|
||||
|
||||
# :nodoc:
|
||||
def branch(options, &blk)
|
||||
return self.class.new(options, &blk) if is_a?(Session)
|
||||
|
||||
|
@ -11,7 +11,7 @@ module HTTPX
|
||||
#
|
||||
# Why not using Refinements? Because they don't work for Method (tested with ruby 2.1.9).
|
||||
#
|
||||
module CurryMethods # :nodoc:
|
||||
module CurryMethods
|
||||
# Backport for the Method#curry method, which is part of ruby core since 2.2 .
|
||||
#
|
||||
def curry(*args)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
module HTTPX
|
||||
class Headers
|
||||
EMPTY = [].freeze # :nodoc:
|
||||
EMPTY = [].freeze
|
||||
|
||||
class << self
|
||||
def new(headers = nil)
|
||||
|
@ -239,13 +239,11 @@ module HTTPX
|
||||
|
||||
private
|
||||
|
||||
# :nodoc:
|
||||
def mime_type(str)
|
||||
m = str.to_s[MIME_TYPE_RE, 1]
|
||||
m && m.strip.downcase
|
||||
end
|
||||
|
||||
# :nodoc:
|
||||
def charset(str)
|
||||
m = str.to_s[CHARSET_RE, 1]
|
||||
m && m.strip.delete('"')
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
require "io/wait"
|
||||
|
||||
module IOExtensions # :nodoc:
|
||||
module IOExtensions
|
||||
refine IO do
|
||||
def wait(timeout = nil, mode = :read)
|
||||
case mode
|
||||
|
Loading…
x
Reference in New Issue
Block a user