Object
basic implementation of open, enough to work with reading files over XmlHttpRequest
# File lib/asciidoctor/opal_ext/file.rb, line 4 def open(path, *rest) file = File.new(path, *rest) if block_given? yield file else file end end