lib/scryglass/config.rb in scryglass-2.0.1 vs lib/scryglass/config.rb in scryglass-2.0.2
- old
+ new
@@ -33,10 +33,10 @@
{ name: 'Yaml Print (`y`)',
lambda: ->(o) { Hexes.capture_io(char_limit: 20_000) { require 'yaml' ; y o } } }, # OR: `puts o.to_yaml`
{ name: 'Puts (`puts`)',
lambda: ->(o) { Hexes.capture_io(char_limit: 20_000) { puts o } } },
{ name: 'Method Showcase',
- lambda: ->(o) { Scryglass::LensHelper.method_showcase_for(o) } },
+ lambda: ->(o) { Scryglass::LensHelper.method_showcase_for(o, char_limit: 20_000) } },
]
## AmazingPrint defaults, if the user has not set their own:
::AmazingPrint.defaults ||= {
index: false, # (Don't display array indices).