class Yard2steep::Type::HashType

Public Class Methods

new(key:, val:) click to toggle source

@param [TypeBase] key @param [TypeBase] val

# File lib/yard2steep/type/ast.rb, line 42
def initialize(key:, val:)
  @key = key
  @val = val
end

Public Instance Methods

to_s() click to toggle source

@return [String]

# File lib/yard2steep/type/ast.rb, line 48
def to_s
  "Hash<#{@key}, #{@val}>"
end