Call an object method: Difference between revisions
→{{header|Ruby}}: renamed pre-existing method method.
(Added Wren) |
(→{{header|Ruby}}: renamed pre-existing method method.) |
||
Line 1,667:
# Instance method
my_instance.
# The parentheses are optional
my_instance.
# Calling a method with no parameters
|