Class: RSVG::Handle
- Inherits:
-
Object
- Object
- RSVG::Handle
- Defined in:
- lib/rsvg2.rb,
ext/rsvg2/rbrsvghandle.c
Class Method Summary collapse
-
.new_from_data(data) ⇒ Object
For backward compatibility.
-
.new_from_file(file_name, options = {}) ⇒ Object
For backward compatibility.
Class Method Details
.new_from_data(data) ⇒ Object
For backward compatibility
71 72 73 |
# File 'lib/rsvg2.rb', line 71 def new_from_data(data) new(:data => data) end |
.new_from_file(file_name, options = {}) ⇒ Object
For backward compatibility
76 77 78 |
# File 'lib/rsvg2.rb', line 76 def new_from_file(file_name, ={}) new(.merge(:file_name => file_name)) end |