File: domain_name.rbs

package info (click to toggle)
ruby-httpx 1.7.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,816 kB
  • sloc: ruby: 12,209; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 285 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module HTTPX
  class DomainName
    type domain = string | DomainName

    include Comparable

    def normalize: (String) -> String

    def cookie_domain?: (domain, ?bool?) -> bool

    def self.new: (domain) -> untyped

    private

    def initialize: (string) -> untyped
  end
end