# File lib/elif.rb, line 32 def self.open(*args) file = new(*args) if block_given? begin yield file ensure file.close end else file end end