1
0
mirror of https://github.com/danbee/inny synced 2025-03-04 08:59:10 +00:00

Add extra example to readme

This commit is contained in:
Daniel Barber 2015-09-22 15:30:28 +01:00
parent 95730e957e
commit 70c44927c1

View File

@ -38,6 +38,9 @@ Require Inny and then start testing your objects:
require 'inny'
object.in?('Foo', 'Bar')
list = [1, 2, 3]
puts "Yay!" if 2.in?(*list)
```
## Development
@ -48,7 +51,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/inny. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
Bug reports and pull requests are welcome on GitHub at https://github.com/danbee/inny. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
## License