While reading Ruby's Redis client source code (redis 4.0.1),
lib/redis/client.rb
to a file named
def call (command)
reply=process([command]){read}
raise reply if reply.is_a? (CommandError)
......
It says
process([command]){read}
When I close this []
I want to google the grammar name of {}
, but I don't know what word to google, so please let me know if anyone knows.
Note: June 27, 2020
This was helpful.
http://rubylearning.com/satishtalim/ruby_blocks.html
It is difficult to google symbols, so in the case of Ruby, you can find the meaning by looking at the "Meaning of symbols used in Ruby" page of the reference manual.
https://docs.ruby-lang.org/ja/latest/doc/symref.html
If you want to google as an English word, would words like brackets, braces, curly braces, parents, etc. be appropriate?
914 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
581 PHP ssh2_scp_send fails to send files as intended
611 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.