Sha256: a71d41cb529e46a90c33b4d4ec3a8f702629148025033f4e73015fb4a2047737
Contents?: true
Size: 518 Bytes
Versions: 5
Compression:
Stored size: 518 Bytes
Contents
module VirtualBox # Represents the media registry within the global VirtualBox configuration. class Media < AbstractModel attribute :parent, :readonly => true relationship :hard_drives, HardDrive relationship :dvds, DVD class <<self def populate_relationship(caller, data) new(caller, data) end end def initialize(parent, document) populate_attributes({ :parent => parent }, :ignore_relationships => true) populate_relationships(document) end end end
Version data entries
5 entries across 5 versions & 1 rubygems