Sometimes when I open a binding.pry session in a spec it shows me a too long scope in the shell like the following and takes all the shell line:
[3] pry(#<RSpec::ExampleGroups::Scope::AfterSeed::BehavesLikeAnExportableToExcelModel::WhenImportingFromSpreadsheet::AXlsxFile>)>
It turns impossible to use the shell when the level is too deep, and this scope information becomes pointless. How can I hide this scope to something like pry(#hidden_info>)> and still have the methods and variables from the previous scope?