@Morgane Define «same» ;) Seriously though, as in any language methods are functions but with some additional context (an object). But as everything is an object in Ruby (even nil !), your functions have methods too (since you were working on iterators, you might wanna separate «regular» functions from lambdas and blocks https://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Method_Calls)