Skip to content

AaronC81/parlour-datamapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parlour-datamapper

A simple Parlour extension to generate types for DataMapper keys. (Associations are currently not supported.)

Usage

Ensure you've required this gem and loaded the program code which defines your DataMapper models in your .parlour file, then add the ParlourDataMapper plugin to plugins. This plugin takes no configuration.

An example .parlour:

output_file: out.rbi

requires:
  - parlour-datamapper

relative_requires:
  - src/main.rb # load models

plugins:
  ParlourDataMapper: {}

About

Parlour plugin to generate DataMapper resource types

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages