The project is in a healthy, maintained state
Converter of yard to rbs-inline
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 0
 Project Readme

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