Sha256: f31604462504bb5157f5b1ce73f9b1b5bd51cb42ce089954328c69e992ddb532

Contents?: true

Size: 698 Bytes

Versions: 2

Compression:

Stored size: 698 Bytes

Contents

# ParamsInquirer

ParamsInquirer gives you a prettier way to inquire params value.

## Installation

Add this line to your application's Gemfile:

    gem 'params_inquirer'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install params_inquirer

## Usage

```ruby
def index
  if params[:status].accepted? # this means `params[:status] == 'accepted'`
    # ...
  elsif params[:status].rejected?
    # ...
  else
    # ...
  end
end
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
params_inquirer-0.0.2 README.md
params_inquirer-0.0.1 README.md