Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A YARD plugin for parsing DataMapper syntax.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib Style.
spec Include YARD into the global namespace for brevity.
.document Re-generated the project using Ore 0.9.3.
.gemtest Opting into `gem test`.
.gitignore Re-generated the project using Ore 0.9.3.
.rspec Re-generated the project using Ore 0.9.3.
.specopts Migrated off of Hoe and to Jeweler, for building/releasing yard-dm.
.yardopts
ChangeLog.md Updated the ChangeLog for yard-dm.
Gemfile Switched back to yard ~> 0.8.
LICENSE.txt Re-generated the project using Ore 0.9.3.
README.md Re-generated the project using Ore 0.9.3.
Rakefile
gemspec.yml Use the yard/dm/version.rb file instead.
yard-dm.gemspec Re-generated the project using Ore 0.9.3.

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.

Something went wrong with that request. Please try again.