How to Install and Uninstall ruby-method-source Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 07,2024

1. Install "ruby-method-source" package

Please follow the instructions below to install ruby-method-source on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-method-source

2. Uninstall "ruby-method-source" package

Please follow the guidelines below to uninstall ruby-method-source on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove ruby-method-source $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-method-source package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-method-source
Architecture: all
Version: 1.0.0-2
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 41
Breaks: pry (<< 0.13.0)
Filename: pool/universe/r/ruby-method-source/ruby-method-source_1.0.0-2_all.deb
Size: 8904
MD5sum: a39097dfaa8da45edee07df5ad727f49
SHA1: 28d18161a0e909c3c96b07b233bfdb4bd1df37fa
SHA256: 43014e0a8176c077301c8a8e33c458618ed004eb05265293630b3970cbf64584
SHA512: 96fdd6b729258dad6f9b7dea88f31f0f661a548464b499c013c8b9e5dac3d63fe818581be7df31fc0bc53e6307b28aa763253f255e47b06978722092cf5c23d4
Homepage: https://github.com/banister/method_source
Description-en: Retrieve the sourcecode for a method as a Ruby string
The `method_source` is a utility to return a method's sourcecode as a
Ruby string. Also returns `Proc` and `Lambda` sourcecode.
.
Method comments can also be extracted using the `comment` method.
.
It is written in pure Ruby (no C).
- Some Ruby 1.8 support now available.
- Support for MRI, RBX, JRuby, REE
.
`method_source` provides the `source` and `comment` methods to the
`Method` and `UnboundMethod` and `Proc` classes.
Description-md5: c5ab569b074790e3e47de4c03d9fc0a1
Ruby-Versions: all