Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
SyntaxSuggest::CodeBlock#current_indent
current_indent
lib/syntax_suggest/code_block.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/syntax_suggest/code_block.rb, line 67
def current_indent
@current_indent ||= lines.select(&:not_empty?).map(&:indent).min || 0
end
No documentation available