Class: Gsf::OutfileOpenPkg
Instance Method Summary collapse
-
#add_extern_rel(target, content_type) ⇒ String
Add an external relation to parent.
-
#content_type ⇒ String
Content-type.
- #content_type=(content_type) ⇒ String
-
#initialize(sink) ⇒ Gsf::Outfile
constructor
Convenience routine to create a GsfOutfileOpenPkg inside sink.
- #is_dir=(is_dir) ⇒ Boolean
-
#is_dir? ⇒ Boolean
Is-dir.
-
#relate(parent, type) ⇒ String
Create a relationship between child and parent of type.
-
#sink ⇒ Gsf::Outfile
Sink.
- #sink=(sink) ⇒ Gsf::Outfile
Methods inherited from Outfile
#new_child, #new_child_full, #new_child_varg, #open_pkg_add_rel
Methods inherited from Output
#close, #container, #container=, #error, error_id, #is_closed, #is_closed=, #is_closed?, #modtime, #modtime=, #name, #name=, #name_from_filename=, #position, #position=, #printf, #puts, #seek, #set_error, #size, #size=, #tell, unwrap, #vprintf, wrap, #write
Constructor Details
#initialize(sink) ⇒ Gsf::Outfile
Convenience routine to create a GsfOutfileOpenPkg inside sink.
Instance Method Details
#add_extern_rel(target, content_type) ⇒ String
Add an external relation to parent. managed by the parent and should not be changed or freed by the caller.
#content_type ⇒ String
Returns content-type.
#content_type=(content_type) ⇒ String
#is_dir=(is_dir) ⇒ Boolean
#is_dir? ⇒ Boolean
Returns is-dir.
#relate(parent, type) ⇒ String
Create a relationship between child and parent of type.
#sink ⇒ Gsf::Outfile
Returns sink.