mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
571612f4cf
* Commands now completely manages 'help', so that 'help' returns full command list/doco and 'help cmd' returns doc for just that command * Turned out.session_start() and out.session_end() into hook methods: Pry.hooks :before_session, and :after_session * Refactored Pry#initialize, so no longer individually setting accessors and hash options, instead using ConfigOptions to iterate over accessors and set their default value to Pry.send(accessor_name) * TO DO: rewrite tests in terms of new program structure, since they're all failing due to major change (not because functionality is lacking but due to assumptions tests were making about program structure)
19 lines
430 B
Ruby
19 lines
430 B
Ruby
# (C) John Mair (banisterfiend) 2010
|
|
# MIT License
|
|
|
|
direc = File.dirname(__FILE__)
|
|
|
|
require "method_source"
|
|
require "#{direc}/pry/version"
|
|
require "#{direc}/pry/input"
|
|
require "#{direc}/pry/output"
|
|
require "#{direc}/pry/hooks"
|
|
require "#{direc}/pry/print"
|
|
require "#{direc}/pry/commands"
|
|
require "#{direc}/pry/prompts"
|
|
require "#{direc}/pry/core_extensions"
|
|
require "#{direc}/pry/pry_class"
|
|
require "#{direc}/pry/pry_instance"
|
|
|
|
|
|
|