HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/ruby/gems/3.0.0/gems/typeprof-0.12.0/README.md
# TypeProf: A type analysis tool for Ruby code based on abstract interpretation

## Synopsis

```sh
gem install typeprof
typeprof app.rb
```

## Demo

```rb
# test.rb
def foo(x)
  if x > 10
    x.to_s
  else
    nil
  end
end

foo(42)
```

```
$ typeprof test.rb
# Classes
class Object
  def foo : (Integer) -> String?
end
```

## Documentation

[English](doc/doc.md) / [日本語](doc/doc.ja.md)

## Playground

You can try typeprof gem on the Web via the URL below.

https://mame.github.io/typeprof-playground/