mirror of
https://github.com/pry/pry-rails.git
synced 2022-11-09 12:36:03 -05:00
11 lines
222 B
Ruby
11 lines
222 B
Ruby
# 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
|