###Self Yield Person.new do |p| p.name = ... end Object pass self to the initiliaze method as block. class Person def initialize yield self if block_given? end end