then call the new version of hello with a block (the code in braces). def hello yield end hello { puts "Hello, Matz!" } # => Hello, Matz!