1
0
Fork 0
mirror of https://github.com/pry/pry-rails.git synced 2022-11-09 12:36:03 -05:00
pry--pry-rails/lib/pry-rails/commands.rb
2012-09-23 15:40:32 -07:00

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