Object-oriented languages like Smalltalk and Ruby have code blocks, whereas Eiffel has agents.
Smalltalk和Ruby等面向对象的语言拥有代码块，而Eiffel拥有agent。