aboutsummaryrefslogtreecommitdiff
path: root/.irbrc
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2023-01-02 12:28:23 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2023-01-02 12:32:26 +0100
commitafdedcc50168208c7f6da855d7dbce9a0ad0e8fa (patch)
tree342e5b26b2927311ecf9ce5baf29a538ad095246 /.irbrc
parent3ebb72165effbc314dd3421a5e65c2c92201eb2e (diff)
downloaddotfiles-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--.irbrc13
1 files changed, 0 insertions, 13 deletions
diff --git a/.irbrc b/.irbrc
index 22a6e03..1c3ea4a 100644
--- a/.irbrc
+++ b/.irbrc
@@ -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