A YARD plugin for parsing DataMapper syntax.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.document
.gemtest
.gitignore
.rspec
.specopts
.yardopts
ChangeLog.md
Gemfile
LICENSE.txt
README.md
Rakefile
gemspec.yml
yard-dm.gemspec

README.md

yard-dm

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.