File: httpversion.rbs

package info (click to toggle)
ruby-webrick 1.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 748 kB
  • sloc: ruby: 7,783; sh: 4; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 345 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module WEBrick
  class HTTPVersion
    include Comparable

    attr_accessor major: Integer

    attr_accessor minor: Integer

    def self.convert: (HTTPVersion | String version) -> instance

    def initialize: (HTTPVersion | String version) -> void

    def <=>: (HTTPVersion | String other) -> Integer?

    def to_s: () -> String
  end
end