An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/siman-man/proc_source.svg?branch=master)](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).