diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-12-25 13:07:10 +0900 |
---|---|---|
committer | git <[email protected]> | 2023-12-26 02:10:25 +0000 |
commit | 50b783ccaca1622266578b1750dd2490f883c6cc (patch) | |
tree | 602365f7a856debdd2f9763e71eb116146ef2956 /lib | |
parent | ca886cd253e5c38b0bd51e57ad791c00533c20a0 (diff) |
[ruby/syntax_suggest] Typofix by misspell
https://github.com/ruby/syntax_suggest/commit/66e1cf0b3e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/syntax_suggest/around_block_scan.rb | 4 | ||||
-rw-r--r-- | lib/syntax_suggest/block_expand.rb | 2 | ||||
-rw-r--r-- | lib/syntax_suggest/capture_code_context.rb | 2 | ||||
-rw-r--r-- | lib/syntax_suggest/parse_blocks_from_indent_line.rb | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/syntax_suggest/around_block_scan.rb b/lib/syntax_suggest/around_block_scan.rb index ce00431b3a..dd9af729c5 100644 --- a/lib/syntax_suggest/around_block_scan.rb +++ b/lib/syntax_suggest/around_block_scan.rb @@ -118,7 +118,7 @@ module SyntaxSuggest end # Scanning is intentionally conservative because - # we have no way of rolling back an agressive block (at this time) + # we have no way of rolling back an aggressive block (at this time) # # If a block was stopped for some trivial reason, (like an empty line) # but the next line would have caused it to be balanced then we @@ -224,7 +224,7 @@ module SyntaxSuggest @scanner.lines end - # Managable rspec errors + # Manageable rspec errors def inspect "#<#{self.class}:0x0000123843lol >" end diff --git a/lib/syntax_suggest/block_expand.rb b/lib/syntax_suggest/block_expand.rb index e9b486c720..2751ae2a64 100644 --- a/lib/syntax_suggest/block_expand.rb +++ b/lib/syntax_suggest/block_expand.rb @@ -157,7 +157,7 @@ module SyntaxSuggest end end - # Managable rspec errors + # Manageable rspec errors def inspect "#<SyntaxSuggest::CodeBlock:0x0000123843lol >" end diff --git a/lib/syntax_suggest/capture_code_context.rb b/lib/syntax_suggest/capture_code_context.rb index 6dc7047176..1f232cfae3 100644 --- a/lib/syntax_suggest/capture_code_context.rb +++ b/lib/syntax_suggest/capture_code_context.rb @@ -26,7 +26,7 @@ module SyntaxSuggest # they can't add extra data that's not present. # # In the case of known ambiguious cases, this class adds context - # back to the ambiguitiy so the programmer has full information. + # back to the ambiguity so the programmer has full information. # # Beyond handling these ambiguities, it also captures surrounding # code context information: diff --git a/lib/syntax_suggest/parse_blocks_from_indent_line.rb b/lib/syntax_suggest/parse_blocks_from_indent_line.rb index 241ed6acb4..39dfca55d2 100644 --- a/lib/syntax_suggest/parse_blocks_from_indent_line.rb +++ b/lib/syntax_suggest/parse_blocks_from_indent_line.rb @@ -8,7 +8,7 @@ module SyntaxSuggest # grabbing one that contains only an "end". In this example: # # def dog - # begonn # mispelled `begin` + # begonn # misspelled `begin` # puts "bark" # end # end |