BSD Ports

devel/rubygem-yard-sorbet 0.9.0 DragonFly

YARD plugin that incorporates Sorbet type information

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
devel, rubygems
Package size
12.6 KiB, 49.8 KiB installed

Description

yard-sorbet is 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)

In the other systems

The newest version among them is 0.9.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/rubygem-yard-sorbet0.9.0 newestnone known-[email protected]-
FreeBSDdevel/rubygem-yard-sorbet0.9.0 newestnone known-[email protected]-
HardenedBSDdevel/rubygem-yard-sorbet0.9.0 newestno data-[email protected]-
GhostBSDdevel/rubygem-yard-sorbet0.9.0 newestno data-[email protected]-

Install

Binary package:

pkg install rubygem-yard-sorbet

From DPorts:

cd /usr/dports/devel/rubygem-yard-sorbet && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4

No port depends on this one.