Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

postmodern/yard-dm

Repository files navigation

yard-dm

  • Source
  • Issues
  • [Email](mailto:postmodern.mod3 at gmail.com)

Description

A YARD plugin for parsing DataMapper model syntax.

Once yard-dm is installed, YARD will automatically load the plugin when ever the yardoc utility is ran on a project.

Features

Parses the following statements:

property :name, Type

has n, :things

has 1, :thing

has 0..n, :things

has 1..n, :things

has 2..5, :things

belongs_to :stuff

Requirements

Install

$ gem install yard-dm

License

See {file:LICENSE.txt} for license information.

About

A YARD plugin for parsing DataMapper syntax.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages