Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Latest commit

 

History

History
35 lines (23 loc) · 609 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 609 Bytes

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 install
bundle exec ./exe/hello export hello.rb
bundle exec ./exe/hello apply hello.rb

Example implementation