A YARD plugin for parsing DataMapper syntax.
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 2 commits ahead, 10 commits behind postmodern:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
tasks
.gemtest
.gitignore
.specopts
.yardopts
ChangeLog.md
Gemfile
Gemfile.lock
LICENSE.txt
README.md
Rakefile
VERSION
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

$ sudo gem install yard-dm

License

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