Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

code2rubylearning

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code2rubylearning

  • 0.1.8
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Code2rubylearning

command line tool that formats, given source code files, making them ready for pasting to the rubylearning.org forum.

Installation

gem install code2rubylearning

Or add this line to your application's Gemfile:

gem "code2rubylearning", "~> 0.1"

And then : bundle install

Usage:

$ code2rubylearning [options] file1 file2 file3 ...

Check your clipboard, the files should be ready to paste to the forum.

For more, see the Usage Examples

Contributing

  1. Fork it
  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 new Pull Request

Development Setup

Do bundle install

copy config.yaml.example to config.yaml

edit config.yaml to your preferred testing reporter

To run minitest specs bundle exec rake spec

To run test program bundle exec ruby bin/code2rubylearning FILE

If the test program runs successfuly it should have copied the contents of FILE to the clipboard.

I only have a linux system to test on so could Mac and Windows users report any problems. Just open a new issue.

FAQs

Package last updated on 22 Jan 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc