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
28 29 30 |
# File 'lib/rsvg2.rb', line 28 def new_from_data(data) new(:data => data) end |
.new_from_file(file_name, options = {}) ⇒ Object
For backward compatibility
33 34 35 |
# File 'lib/rsvg2.rb', line 33 def new_from_file(file_name, ={}) new(.merge(:file_name => file_name)) end |