Block invocation example Using call to a block argument def high_paid(employees, &block) employees.select{|e| block.call e.salary} end