How to Install and Uninstall ruby-method-source Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 26,2024

1. Install "ruby-method-source" package

This is a short guide on how to install ruby-method-source on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "ruby-method-source" package

Please follow the steps below to uninstall ruby-method-source on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the ruby-method-source package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ruby-method-source
Priority: optional
Section: universe/ruby
Installed-Size: 73
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Architecture: all
Version: 0.8.2-2
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-method-source/ruby-method-source_0.8.2-2_all.deb
Size: 8090
MD5sum: be8e61be06d38e540cf0b3f116ba0ed0
SHA1: ba5f13814ea6ad37fdbb6d177ea82bdffb677f30
SHA256: b5e682ba2e9665307371ad34e94bb3bbbb05ddc3f06d91df5f54fefad6b93fae
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
Homepage: http://banisterfiend.wordpress.com
Ruby-Versions: all
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu