HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/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/