liveBook · Manning

Method call

A method call is an expression that invokes a method associated with an object, value, or type, optionally supplying arguments.

How 2 Manning books explain it

The Well-Grounded Rubyist, Fourth Edition

A method call is a Ruby expression that invokes a method on an object, optionally supplying arguments and a block.

How it is used
Uses method calls to ask objects for information or actions and to place returned values in expressions.
How deep it goes
Explains receivers, arguments, returns, blocks, and bareword resolution, while deferring fuller treatment of block parameters.
Examples
Contrasts string conversion, ticket queries, argument-count errors, and calls with or without blocks.
What you can do after
Diagnose/debug with it by distinguishing arguments from blocks and bareword calls from local variables.

Read how The Well-Grounded Rubyist, Fourth Edition explains method call →

Rust in Action: Systems programming concepts and techniques

A method call is an expression that invokes a method associated with a value or type.

How it is used
Uses method calls to process text records and perform numeric operations in practical Rust programs.
How deep it goes
Explains dot syntax through working examples and operator precedence, but does not develop method implementation or dispatch internals.
Examples
Demonstrates CSV parsing with `trim`, `split`, `map`, and `collect`, plus rounding, exponentiation, and floating-point bit decoding.
What you can do after
Apply method syntax to transform text, call numeric operations, and recognize precedence problems in Rust expressions.

Read how Rust in Action: Systems programming concepts and techniques explains method call →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.