mirror of
https://github.com/danbee/inny
synced 2025-03-04 08:59:10 +00:00
Add usage section
This commit is contained in:
parent
6e86e10272
commit
853bf65256
10
README.md
10
README.md
@ -30,6 +30,16 @@ Or install it yourself as:
|
|||||||
|
|
||||||
$ gem install inny
|
$ gem install inny
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Require Inny and then start testing your objects:
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
require 'inny'
|
||||||
|
|
||||||
|
object.in?('Foo', 'Bar')
|
||||||
|
```
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user