Skip to content

Commit 9d11155

Browse files
committed
[Docs] Remove redundant parentheses
In Ruby, it is generally not customary to add parentheses to methods without arguments. This PR removes such redundant parentheses from the documentation. This PR removes redundant parentheses. In Ruby, it is generally not customary to add parentheses to methods without arguments.
1 parent d1c6a46 commit 9d11155

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ The server supports sending notifications to clients when lists of tools, prompt
108108

109109
The server provides three notification methods:
110110

111-
- `notify_tools_list_changed()` - Send a notification when the tools list changes
112-
- `notify_prompts_list_changed()` - Send a notification when the prompts list changes
113-
- `notify_resources_list_changed()` - Send a notification when the resources list changes
111+
- `notify_tools_list_changed` - Send a notification when the tools list changes
112+
- `notify_prompts_list_changed` - Send a notification when the prompts list changes
113+
- `notify_resources_list_changed` - Send a notification when the resources list changes
114114

115115
#### Notification Format
116116

@@ -134,7 +134,7 @@ server.transport = transport
134134

135135
# When tools change, notify clients
136136
server.define_tool(name: "new_tool") { |**args| { result: "ok" } }
137-
server.notify_tools_list_changed()
137+
server.notify_tools_list_changed
138138
```
139139

140140
### Unsupported Features ( to be implemented in future versions )

0 commit comments

Comments
 (0)