https://github.com/siman-man/proc_source
get the sourcecode for a Proc object
https://github.com/siman-man/proc_source
ruby rubygems
Last synced: 2 months ago
JSON representation
get the sourcecode for a Proc object
- Host: GitHub
- URL: https://github.com/siman-man/proc_source
- Owner: siman-man
- License: mit
- Created: 2017-10-06T12:26:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-06T16:14:31.000Z (almost 9 years ago)
- Last Synced: 2026-04-06T17:41:49.555Z (3 months ago)
- Topics: ruby, rubygems
- Language: Ruby
- Homepage: https://github.com/siman-man/proc_source
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://travis-ci.org/siman-man/proc_source)
# proc_source
get the sourcecode for a Proc object
## Installation
install it yourself as:
$ gem install proc_source
## Usage
```ruby
require "proc_source"
proc1 = Proc.new do |i|
puts i
end
puts proc1.proc_source
```
```
Proc.new do |i|
puts i
end
```
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
## Code of Conduct
Everyone interacting in the ProcSource project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/siman-man/proc_source/blob/master/CODE_OF_CONDUCT.md).