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 2519818cc9 Rename HistoryArray to Ring
`HistoryArray` is a very specific name and it doesn't tell the reader what
it *really* means unless you read its code or the docs of the class.

On the other hand, `Ring` is a [very well-known term][1], which means exactly
what `HistoryArray` does. The alias name for it is circular buffer. I chose
`Ring` because it is shorter and used by Golang, so I expect programmers to
be familiar with `Ring`.

[1]: https://en.wikipedia.org/wiki/Circular_buffer
2018-10-20 00:36:22 +08:00
..
commands
config
fixtures
helpers
integration
method
spec_helpers
cli_spec.rb
code_object_spec.rb
code_spec.rb
color_printer_spec.rb
command_helpers_spec.rb
command_integration_spec.rb
command_set_spec.rb
command_spec.rb
completion_spec.rb
config_spec.rb
control_d_handler_spec.rb
documentation_helper_spec.rb
editor_spec.rb
exception_whitelist_spec.rb
helper.rb
history_spec.rb
hooks_spec.rb
indent_spec.rb
method_spec.rb
pager_spec.rb
prompt_spec.rb
pry_defaults_spec.rb
pry_output_spec.rb
pry_repl_spec.rb
pry_spec.rb Rename HistoryArray to Ring 2018-10-20 00:36:22 +08:00
pryrc_spec.rb
ring_spec.rb Rename HistoryArray to Ring 2018-10-20 00:36:22 +08:00
run_command_spec.rb
sticky_locals_spec.rb
syntax_checking_spec.rb
wrapped_module_spec.rb