Method: Browser::Blob.create
- Defined in:
- opal/browser/blob.rb
.create(from, options = {}) ⇒ Object
Create a new blob from anything that Blob API supports
8 9 10 |
# File 'opal/browser/blob.rb', line 8 def self.create(from, ={}) new(`new Blob(#{Native.convert(from)}, #{options.to_n})`) end |