Python3 has a pass command that does nothing. This command is used in if-constructs because python requires the programmer to have at least one command for else. Does Ruby have an equivalent to python3’s pass command?
Python3 has a pass command that does nothing. This command is used in if-constructs
Share
No, when you want something empty, you write nothing in there in
Ruby, since it’s empty.
No need for any placeholder like “pass” for nothing.