Sha256: 0851b709d9bf235bba2c79a46c28ff7cc7f956de8b37737385fc2a75f0f13616

Contents?: true

Size: 482 Bytes

Versions: 3

Compression:

Stored size: 482 Bytes

Contents

interface _ToI
  def to_i: -> Integer
end

interface _ToInt
  def to_int: -> Integer
end

interface _ToS
  def to_s: -> String
end

interface _ToStr
  def to_str: () -> String
end

interface _ToHash[K, V]
  def to_hash: () -> Hash[K, V]
end

interface _ToProc
  def to_proc: () -> untyped
end

interface _Each[out A, out B]
  def each: { (A) -> void } -> B
end

class BigDecimal
end

type int = Integer | _ToInt
type real = Integer | Float | Rational

type string = String | _ToStr

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
steep-0.14.0 vendor/ruby-signature/stdlib/builtin/builtin.rbs
steep-0.13.0 vendor/ruby-signature/stdlib/builtin/builtin.rbs
steep-0.12.0 vendor/ruby-signature/stdlib/builtin/builtin.rbs