File: console

package info (click to toggle)
ruby-glob 0.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 200 kB
  • sloc: ruby: 449; makefile: 7; sh: 4
file content (16 lines) | stat: -rwxr-xr-x 337 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env ruby
# frozen_string_literal: true

require "bundler/setup"
require "glob"

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

begin
  require "pry"
  Pry.start
rescue LoadError
  require "irb"
  IRB.start(__FILE__)
end