Sha256: 0da222b3b5777b6c714efd93c96738b30c6fadb6d742bec349f0ec9a55a346c5

Contents?: true

Size: 961 Bytes

Versions: 1

Compression:

Stored size: 961 Bytes

Contents

# LoadTracer

This gem can check the dependency files.

require `RUBY_VERSION` >= 2.7.0

## Installation

clone this repository.

```
git clone https://github.com/siman-man/load_tracer.git
```

build gem.

```
bundle exec rake build
```

install gem.

```
gem install pkg/load_tracer-0.1.0.gem
```



## Usage

```ruby
require 'load_tracer'

report = LoadTracer.trace do
  require 'net/http'
end

pp report
```

### dot format

```ruby
require 'load_tracer'

puts LoadTracer.trace(format: :dot) { require 'prime' }
```

```
ruby example.rb | dot -Tpng -o example.png | open example.png
```

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

## Code of Conduct

Everyone interacting in the LoadTracer project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/load_tracer/blob/master/CODE_OF_CONDUCT.md).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
load_tracer-0.2.0 README.md