Skip to content

julianrubisch/toy_train

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToyTrain

Short description and motivation.

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

gem "toy_train"

And then execute:

$ bundle

Or install it yourself as:

$ gem install toy_train

Installation

Models

Install Migrations

bin/rails toy_train:install:migrations

Configuration

In an initializer, do:

ToyTrain.configure do |config|
  config.games = [] # ActiveHash data
  config.user_class = "Participant" # default "User"
end

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.