Class: Rmega::Nodes::Root
- Includes:
- Expandable, Traversable
- Defined in:
- lib/rmega/nodes/root.rb
Constant Summary
Constants inherited from Node
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
Methods included from Traversable
#children, #empty?, #files, #folders, #parent
Methods included from Expandable
Methods included from Uploadable
#encrypt_chunck, #read_chunk, #upload, #upload_chunk
Methods included from Rmega::Net
#http_get_content, #http_post, #survive
Methods included from Options
Methods included from Loggable
Methods inherited from Node
#attributes, #decrypted_file_key, each_chunk, #each_chunk, #file_key, #file_keys, #handle, #initialize, #name, #parent_handle, #process_shared_key, #public_handle, #public_url, #rename, #serialize_attributes, #shared_root?, #type
Methods included from Crypto::Rsa
Methods included from Crypto::AesCtr
#aes_ctr_cipher, #aes_ctr_decrypt, #aes_ctr_encrypt
Methods included from Crypto::AesEcb
#aes_ecb_cipher, #aes_ecb_decrypt, #aes_ecb_encrypt
Methods included from Crypto::AesCbc
#aes_cbc_cipher, #aes_cbc_decrypt, #aes_cbc_encrypt, #aes_cbc_mac
Methods included from Rmega::NotInspectable
Constructor Details
This class inherits a constructor from Rmega::Nodes::Node
Instance Method Details
#download(path) ⇒ Object
7 8 9 10 11 |
# File 'lib/rmega/nodes/root.rb', line 7 def download(path) children.each do |node| node.download(path) end end |