Skip to content

Commit 0acb5f9

Browse files
committed
Rename 'defined?' to 'defined'
1 parent 89d0d73 commit 0acb5f9

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/ruby_lsp/static_docs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module RubyLsp
1818
"case" => "Starts a case expression for pattern matching or multiple condition checking",
1919
"class" => "Defines a class and its methods",
2020
"def" => "Defines a method",
21-
"defined?" => "Checks if a constant or method is defined",
21+
"defined" => "Checks if a constant or method is defined",
2222
"else" => "Executes the code in the else block if the condition is false",
2323
"yield" => "Invokes the passed block with the given arguments",
2424
}.freeze #: Hash[String, String]
File renamed without changes.

0 commit comments

Comments
 (0)