Skip to content

About

Insert rbs-inline comments from YARD type annotations.

Resources

Code of conduct

Stars

13 stars

Watchers

1 watching

Forks

Repository files navigation

yard → rbs-inline

Insert rbs-inline comments from YARD type annotations in your codes.

Usage

Install this gem with the following command.

gem install yard_to_rbs_inline

Then, run the following command to insert rbs-inline comments to your codes.

# Print rewrited code to stdout.
yard_to_rbs_inline --dry-run your-file.rb

# Overwrite files.
yard_to_rbs_inline your-file.rb

Examples

See: examples

About

Insert rbs-inline comments from YARD type annotations.

Resources

Code of conduct

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages