Method call
A method call is an expression that invokes a method associated with an object, value, or type, optionally supplying arguments.
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
- return valueproduces · A return value is the result produced by a function, method, or operation and supplied to the code that invoked it.
- function argumentuses · A function argument is a value or expression supplied when a function or method is invoked, providing input to the called operation.
- scopeproduces · Scope is the region of a program in which names are visible and can be resolved according to the language’s lookup rules.
- argument listhas part · An argument list is an ordered collection of expressions or values supplied to a callable and interpreted according to its parameters.
- syntactic sugarcontrasts with · Syntactic sugar is language syntax that provides a more convenient or readable form for expressing behavior already representable by other constructs without changing its meaning.
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.

