Content-Length: 311451 | pFad | http://github.com/dduugg/yard-sorbet

A6 GitHub - dduugg/yard-sorbet: Types are documentation
Skip to content

dduugg/yard-sorbet

Repository files navigation

yard-sorbet

Gem Version Build Status codecov

A YARD plugin that parses Sorbet type annotations

Features

  • Attaches existing documentation to methods and attributes that follow sig declarations. (This information is otherwise discarded.)
  • Translates sig type signatures into corresponding YARD tags
  • Generates method definitions from T::Struct fields
  • Generates constant definitions from T::Enum enums
  • Modules marked abstract! or interface! are tagged @abstract
  • Modules using mixes_in_class_methods will attach class methods
  • Merges sigs in rbi files with source code documentation (rbi files must come after source code in yard configuration)

Usage

See the Plugin Support section of the YARD docs.

Used By

This plugin is used by:









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/dduugg/yard-sorbet

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy