Yes, it works. Try it yourself: `nil.try(:each) { |a| p a }` `=> nil`