removed the nodocs

This commit is contained in:
HoneyryderChuck 2020-10-03 00:28:10 +01:00
parent c6535772df
commit 019b41a70c
5 changed files with 3 additions and 6 deletions

View File

@ -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)

View File

@ -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)

View File

@ -2,7 +2,7 @@
module HTTPX
class Headers
EMPTY = [].freeze # :nodoc:
EMPTY = [].freeze
class << self
def new(headers = nil)

View File

@ -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('"')

View File

@ -2,7 +2,7 @@
require "io/wait"
module IOExtensions # :nodoc:
module IOExtensions
refine IO do
def wait(timeout = nil, mode = :read)
case mode