Skip to content
instance method

SyntaxSuggest::AroundBlockScan#force_add_hidden

force_add_hidden

When using this flag, scan_while will bypass the block it’s given and always add a line that responds truthy to ‘CodeLine#hidden?`

Lines are hidden when they’ve been evaluated by the parser as part of a block and found to contain valid code.