diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2023-01-02 12:28:23 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2023-01-02 12:32:26 +0100 |
| commit | afdedcc50168208c7f6da855d7dbce9a0ad0e8fa (patch) | |
| tree | 342e5b26b2927311ecf9ce5baf29a538ad095246 /.irbrc | |
| parent | 3ebb72165effbc314dd3421a5e65c2c92201eb2e (diff) | |
| download | dotfiles-afdedcc50168208c7f6da855d7dbce9a0ad0e8fa.tar.gz dotfiles-afdedcc50168208c7f6da855d7dbce9a0ad0e8fa.zip | |
irb: removed unneeded methods
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.irbrc')
| -rw-r--r-- | .irbrc | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -18,7 +18,6 @@ require 'irb/completion' require 'irb/ext/save-history' require 'rubygems' -require 'pp' # Colorize! # rubocop:disable Lint/SuppressedException @@ -44,19 +43,7 @@ IRB.conf[:AUTO_INDENT] = true # Use readline IRB.conf[:USE_READLINE] = true -# List object methods -def local_methods(obj = self) - (obj.methods - obj.class.superclass.instance_methods).sort -end - # Reload this .irbrc def reload! load __FILE__ end - -# Beautify ls -def ls - `ls`.split("\n") -end - -alias p pp |
