File: _irbrc

package info (click to toggle)
ruby-wirble 0.1.3-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 144 kB
  • ctags: 234
  • sloc: ruby: 1,613; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 615 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
######################################################################
# _irbrc - Sample .irbrc file to enable Wirble.                      #
######################################################################

#
# Uncomment the block below if you want to load RubyGems in Irb.
#

# begin 
#   require 'rubygems'
# rescue LoadError => err
#   warn "Couldn't load RubyGems: #{err}"
# end

begin 
  # load and initialize wirble
  require 'wirble'
  Wirble.init
  
  #
  # Uncomment the line below to enable Wirble colors.
  # 

  # Wirble.colorize
rescue LoadError => err
  warn "Couldn't load Wirble: #{err}"
end