Class: Relyze::Library
- Inherits:
-
Object
- Object
- Relyze::Library
- Defined in:
- C:/Program Files/Relyze/lib/relyze/core/application.rb
Defined Under Namespace
Classes: Archive
Instance Method Summary collapse
-
#archives {|archive| ... } ⇒ Array<Relyze::Library::Archive>
Get every archive in the library.
-
#initialize ⇒ Library
constructor
A new instance of Library.
-
#load(archive_path, options = { :password => nil }) ⇒ Relyze::FileModel?
Load a previously saved archive.
-
#save(model, options = { :tags => [''], :description => nil, :password => nil }) ⇒ true, false
Save a model to the library as an archive.
Constructor Details
#initialize ⇒ Library
Returns a new instance of Library
169 170 |
# File 'C:/Program Files/Relyze/lib/relyze/core/application.rb', line 169 def initialize end |
Instance Method Details
#archives {|archive| ... } ⇒ Array<Relyze::Library::Archive>
Get every archive in the library
237 238 239 |
# File 'C:/Program Files/Relyze/lib/relyze/core/application.rb', line 237 def archives return nil end |
#load(archive_path, options = { :password => nil }) ⇒ Relyze::FileModel?
Load a previously saved archive. The loaded archive will not be available in the GUI. If you want to load an archive into the GUI, use analyze_file_dialog instead.
223 224 225 |
# File 'C:/Program Files/Relyze/lib/relyze/core/application.rb', line 223 def load( archive_path, ={ :password => nil } ) return nil end |
#save(model, options = { :tags => [''], :description => nil, :password => nil }) ⇒ true, false
Save a model to the library as an archive.
200 201 202 |
# File 'C:/Program Files/Relyze/lib/relyze/core/application.rb', line 200 def save( model, ={ :tags => [''], :description => nil, :password => nil } ) return nil end |