Skip to content

mindpin/knowledge_camp_step

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KnowledgeCamp::Step

Installation

Add this line to your application's Gemfile:

gem "knowledge_camp_step", :github => "mindpin/knowledge_camp_step", :tag => "0.1.8"

And then execute:

$ bundle

Usage

class SomeStepOwnerModel
  include Mongoid::Document
  include KnowledgeCamp::Step::Owner
end

class User
  include Mongoid::Document
  include KnowledgeCamp::Step::NoteCreator
end

instance = SomeStepOwnerModel.create

user = User.frist

instance.steps #=> get related steps

instance.notes #=> get model related notes

user.notes #=> get creator related notes

Contributing

  1. Fork it ( https://github.com/mindpin/knowledge_camp_step/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages