Sha256: 9f889b064ed87ff39890255ce75d721bf5031208b458126d3cabc5eea2bff8ca

Contents?: true

Size: 824 Bytes

Versions: 1

Compression:

Stored size: 824 Bytes

Contents

# Reciper

Suppose you're writing a book containing some programming recipes. It would be great to have a test suite that ensures that your snippets really are really working. But why we should write a test suite if RSpec already does an awesome job doing it ?

Reciper is a collection of helpers that helps you write tests for your book recipes. It should be included on your described class and used whenever you need to copy files, copy line ranges, run tests, overwrite files, among other things.

## Installation

On your `Gemfile`, just do this:

```ruby
gem "reciper"
```
     
Run `bundle install` and you're ready to go!

## Usage

Usage is really simple:

```ruby
Recipe.new("My recipe name", "recipe_path/code", "ruby_app_template").execute do
  copy_file("file.rb", :as => "user.rb", :to => "app/models")
end
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reciper-0.2.1 README.md