RubyLearner

Ruby mastering application. It checks your code using rspec and rubocop.

Installation

Add this line to your application's Gemfile:

gem 'ruby_learner'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruby_learner

Usage

Usage: ruby_learner [options]
Options:
     -v                     - check ruby_learner's version
     emacs_key                  - confirm emacs key-bindings.
     sequential_check [section:1~11] [part:1~]  - learning drill.
     sequential_check -drill (-d)           - confirm drill numbers
     sequential_check -next (-n)            - learn next to final history
     restore                    - check your restore
     install_emacs                  - install emacs in your mac
     theme [black or white]             - change ruby_learner's theme

In learning in this app, you can choice 3 mode.
Mode 1: you can continue to answer the question:

 $ [RET]

Mode 2: you can confirm answer example.

 $ answer + [RET]

Mode 3: you can stop answer the question.

 $ exit + [RET]

Workshop

This app makes a directory in your Home-Directory, 'ruby_learner'. If you confirm your learning history, you should check ruby_learner/workshop/restore.

If it cannot be executed due to an error

I think the cause is your workshop-directory. Please execute this command in your Home-Directory.

 $ rm -rf ruby_learner

Development

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Takaki0403/ruby_learner. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

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