1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00
pry--pry/spec
Kyrylo Silin de50544759 Add support for play 69 syntax
`play 69` is a shortcut for `play --file #{_file_} --lines 69`. It plays
lines from the current file. Example (I omitted some useless
information):

  pry(main)> show-source hello
    def hello
      binding.pry
      true
      puts "hi"
      69
    end
  pry(main)> hello
    1: def hello
 => 2:   binding.pry
    3:   true
    4:   puts "hi"
    5:   69
    6: end
  pry(main)> play 5
  => 69
  pry(main)> play 3..4
  hi
  => nil
  pry(main)>

Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
2012-12-01 05:22:16 +02:00
..
commands Add support for play 69 syntax 2012-12-01 05:22:16 +02:00
fixtures More spec fixtures around 2012-11-18 01:33:32 -08:00
candidate_helper1.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
candidate_helper2.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
cli_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
code_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
command_helpers_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
command_integration_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
command_set_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
command_spec.rb Fix subcommands 2012-11-26 18:07:32 +02:00
completion_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
control_d_handler_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
example_nesting.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
exception_whitelist_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
history_array_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
hooks_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
indent_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
input_stack_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
method_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
prompt_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
pry_defaults_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
pry_history_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
pry_output_spec.rb Don't recolorize output with ANSI escapes [Fixes #751] 2012-11-28 15:21:14 -08:00
pry_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
sticky_locals_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
syntax_checking_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
testrc Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
testrcbad Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00
wrapped_module_spec.rb Rename for tabcompletion-friendliness. 2012-11-15 18:59:51 -06:00