# yard-dm

* [github.com/postmodern/yard-dm](http://github.com/postmodern/yard-dm/)
* [github.com/postmodern/yard-dm/issues](http://github.com/postmodern/yard-dm/issues)
* Postmodern (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

* [yard](http://yardoc.org/) >= 0.4.0

## Install

    $ sudo gem install yard-dm

## License

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