Codenize

Generate scaffold for Codenize.tools.

Installation

Add this line to your application's Gemfile:

gem 'codenize'

And then execute:

$ bundle

Or install it yourself as:

$ gem install codenize

Usage

codenize -n hello
cd hello
sed -i.bak 's/TODO://' hello.gemspec
sed -i.bak 's/spec.homepage/#spec.homepage/' hello.gemspec
bundle exec ./exe/hello export hello.rb
bundle exec ./exe/hello apply hello.rb

Example implementation