Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sonots/tapry
obj.method.tapry.chain instead of obj.method.tap { binding.pry }.chain
https://github.com/sonots/tapry
Last synced: about 2 months ago
JSON representation
obj.method.tapry.chain instead of obj.method.tap { binding.pry }.chain
- Host: GitHub
- URL: https://github.com/sonots/tapry
- Owner: sonots
- License: mit
- Created: 2014-06-07T04:02:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-07T04:02:44.000Z (over 10 years ago)
- Last Synced: 2024-10-13T08:08:43.118Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Tapry
`obj.method.tapry.chain` instead of `obj.method.tap { binding.pry }.chain`
[![Build Status](https://travis-ci.org/sonots/tapry.svg)](https://travis-ci.org/sonots/tapry)
[![Coverage Status](https://coveralls.io/repos/sonots/tapry/badge.png)](https://coveralls.io/r/sonots/tapry)## Installation
Add the following to your `Gemfile`:
```ruby
gem 'tapry'
```And then execute:
```plain
$ bundle
```## How to Use
Do you use [pry](https://github.com/pry/pry)? `Tapry` provoides a shortcut to
```ruby
obj.method.tap { binding.pry }.chain
```as
```ruby
obj.method.tapry.chain
```## ToDo
* Tapry stops inside `tapry` method. How to make it stop at the line of code writing `tapry`?
## 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## Copyright
* Copyright (c) 2014 Naotoshi Seo. See [LICENSE](LICENSE) for details.