Sha256: 11b8858ceeb864bc42e22f91b6f6233c1312a9ba72fdc2b533e88bbd0a551622

Contents?: true

Size: 673 Bytes

Versions: 2

Compression:

Stored size: 673 Bytes

Contents

# Jb

A simpler and faster Jbuilder alternative.


## Installation

Add this line to your application's Gemfile:

```ruby
gem 'jb'
```

And bundle.


## Usage

Write a template that contains a Ruby code that returns a Ruby Hash / Array object.
Then the object will be `to_json`ed to a JSON String.


## Features

* No ugly builder syntax
* No `method_missing` calls
* `render_partial` with :collection option actually renders the collection (unlike Jbuilder)


## Contributing

Pull requests are welcome on GitHub at https://github.com/amatsuda/jb.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jb-0.1.1 README.md
jb-0.1.0 README.md