File: commands.rb

package info (click to toggle)
ruby-pry-rails 0.3.9-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 320 kB
  • sloc: ruby: 844; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 222 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# encoding: UTF-8

PryRails::Commands = Pry::CommandSet.new

command_glob = File.expand_path('../commands/*.rb', __FILE__)

Dir[command_glob].each do |command|
  require command
end

Pry.commands.import PryRails::Commands