Sha256: 23165ecf5148269a20035eca2f514d8d218d4880e02d7b80c839fc5d18183584

Contents?: true

Size: 743 Bytes

Versions: 1

Compression:

Stored size: 743 Bytes

Contents

# RailsExtras
[![Gem Version](https://badge.fury.io/rb/rails_extras.png)](http://badge.fury.io/rb/rails_extras)

This gem provides extras methods for Rails application.

## Installation

Add this line to your application's Gemfile:

    gem 'rails_extras'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install rails_extras

## Usage

```ruby
add_link('http://example.com', class: 'text-info') do |tag|
  tag.space "link"
  [1, 2, 3].each do |item|
    tag << item.to_s
  end
end #=> <a href='http://example.com', class: 'text-info'>link 123</a>
```
# License

RailsExtras uses the MIT license. Please check the [LICENSE][] file for more details.

[license]: https://github.com/raglub/rails_extras/blob/master/LICENSE

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_extras-0.1.3 README.md