Sha256: fcb7645f98d6777373c3cca8a25339a9cecd99a1e35ef60251436d12ada211b7

Contents?: true

Size: 732 Bytes

Versions: 3

Compression:

Stored size: 732 Bytes

Contents

# Readme

Gemified collection of
[country flags](http://www.famfamfam.com/lab/icons/flags/).

## Usage

Add to your Gemfile:

```ruby
gem 'country_flags'
```

Run:

```bash
bundle install
```

In views:
```ruby

# using helper
country_flag 'bg'
country_flag 'bg', format: 'gif'

image_tag country_flag_path 'bg'
image_tag country_flag_path 'bg', :gif

# gif version
image_tag 'country_flags/gif/bg.gif'

# png version
image_tag 'country_flags/png/bg.gif'
```

## Testing

Use `rspec` to run the tests.

```bash
bundle exec rspec
```

## Credit

Country flags are made by [famfamfam](http://www.famfamfam.com/).

## Contributing

Your contributions are welcome. Please fork the project, make a new branch and
send me a pull request.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
country_flags-0.1.2 README.md
country_flags-0.1.1 README.md
country_flags-0.1.0 README.md