1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/lib/pry
robert 21d4c1ddf9 support BasicObject instance's as value in Pry#inject_local
before:
[6] pry(main)> _pry_.inject_local :foo, BasicObject.new, Pry.toplevel_binding
NoMethodError: undefined method `is_a?' for #<BasicObject:0x007fbb49f1a048>
from /Users/giorgio/code/pry/lib/pry/pry_instance.rb:151:in `inject_local'
[7] pry(main)> exit

after:
[3] pry(main)> _pry_.inject_local :foo, BasicObject.new, Pry.toplevel_binding
=> #<BasicObject:0x3fc186707a4c>
[4] pry(main)> foo
=> #<BasicObject:0x3fc186707a4c>
2014-04-27 14:13:20 -07:00
..
code lib/pry/code/code_file.rb: refactor #code_path 2013-11-25 23:41:28 +02:00
commands update oudated documentation for gem-install. 2014-04-27 14:12:33 -07:00
config rewrite Pry::InputCompleter as a class who wraps '_pry_'. 2014-04-27 14:12:45 -07:00
helpers Unwrap last exception when setting _ex_ 2014-03-09 19:39:01 -07:00
method Fix yard documentation warnings(fix #1163) 2014-03-16 23:54:45 +09:00
test rewrite mock_backtrace to use define_singleton_method. 2014-03-10 01:22:09 +01:00
cli.rb Remove -i option. Close #1155. 2014-03-26 06:30:59 +09:00
code.rb Merge branch 'cat' of github.com:havenwood/pry into havenwood-cat 2013-11-25 23:04:36 +02:00
code_object.rb Refactor Pry::Method.from_str , because of comment on method_or_class_lookup in lib/pry/code_object.rb . 2014-01-03 11:50:19 +09:00
color_printer.rb Fix default inspect for Ruby 2.1 2014-01-19 18:00:28 -08:00
command.rb remove all Bond references from pry. rel #1180 2014-03-25 16:13:05 +01:00
command_set.rb remove reference to Bond::DefaultMission. closes #1180 2014-03-25 16:01:42 +01:00
commands.rb Append to Strings with #<< rather than #+. 2013-11-24 14:58:31 -08:00
config.rb require 'config/*' dependencies through require_relative. 2014-02-01 14:52:40 +01:00
core_extensions.rb Remove support for 1.8-compatible versions of Ruby 2014-01-19 17:43:07 -08:00
editor.rb Use Shellwords.split before calling system [Fixes #810] 2013-03-24 23:36:08 -07:00
exceptions.rb pry.rb: Move all exception specific code to its own file 2013-09-03 11:04:25 +03:00
helpers.rb Extract Table to its own file 2013-01-09 17:18:44 -06:00
history.rb Initialize History lazily, make it work without Readline 2014-02-02 19:51:39 -08:00
history_array.rb Only take a shallow clone 2013-12-08 09:40:45 -08:00
hooks.rb call to_hash on 'options' in Pry.start(). 2014-01-28 15:20:26 +01:00
indent.rb lib/pry/indent.rb: fix typos in #track_module_nesting 2013-12-06 01:17:06 +02:00
input_completer.rb rewrite Pry::InputCompleter as a class who wraps '_pry_'. 2014-04-27 14:12:45 -07:00
input_lock.rb No longer touching the the input. It's a global lock for now (:all) 2013-06-26 16:39:37 -04:00
inspector.rb add 'list-inspectors' & 'change-inspectors' commands. 2014-03-23 09:21:17 +01:00
last_exception.rb improve Pry::LastException docs. 2014-03-17 11:28:48 +01:00
method.rb Delete magic comment 2014-03-26 10:35:16 +09:00
module_candidate.rb Move all hacking of rbx paths into Pry::Code 2013-05-10 00:49:36 -07:00
pager.rb pass an empty prompt to Readline.readline() from Pry::SimplePager. 2013-12-20 20:28:53 +01:00
plugins.rb remove openstruct dependency from all of pry. 2014-01-21 11:11:42 +01:00
prompt.rb add 'list-prompts' and 'change-prompt' commands. 2014-03-19 14:53:28 +01:00
pry_class.rb Fix yard documentation warnings(fix #1163) 2014-03-16 23:54:45 +09:00
pry_instance.rb support BasicObject instance's as value in Pry#inject_local 2014-04-27 14:13:20 -07:00
rbx_path.rb Move all hacking of rbx paths into Pry::Code 2013-05-10 00:49:36 -07:00
repl.rb Merge branch 'master' into lazy-readline 2014-02-02 15:44:30 -08:00
repl_file_loader.rb Go to interactive_mode end-of-input is raised 2014-01-26 01:07:48 +09:00
rubygem.rb Make 'gem-cd' use the most recent gem, not the oldest gem. 2013-11-06 01:37:48 -05:00
terminal.rb Check if Readline is defined before getting screen size 2014-02-02 17:08:44 -08:00
version.rb change version to 0.10.0.pre 2014-03-14 02:06:06 +01:00
wrapped_module.rb Remove support for 1.8-compatible versions of Ruby 2014-01-19 17:43:07 -08:00