Sha256: b607c3c6f608c7a0b08fe1f1f9da73a3c046fa671ca50bb60706eae9de05383f

Contents?: true

Size: 742 Bytes

Versions: 22

Compression:

Stored size: 742 Bytes

Contents

module VirtualBox
  # Represents a DVD image stored by VirtualBox. These DVD images can be
  # mounted onto virtual machines. Because DVD just inherits from {Medium},
  # it also inherits all methods and attributes which are on {Medium}. For more
  # attributes, the ability to destroy, etc, please view {Medium}.
  #
  # # Finding all DVDs
  #
  # The only method at the moment of finding DVDs is to use {DVD.all}, which
  # returns an array of {DVD}s.
  #
  #     DVD.all
  #
  class DVD < Medium
    class << self
      # Returns an array of all available DVDs as DVD objects
      def all
        Global.global.media.dvds
      end

      # Override of {Medium.device_type}.
      def device_type
        :dvd
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
virtualbox-0.9.2 lib/virtualbox/dvd.rb
virtualbox-0.9.1 lib/virtualbox/dvd.rb
virtualbox-0.9.0 lib/virtualbox/dvd.rb
virtualbox-0.8.6 lib/virtualbox/dvd.rb
virtualbox-0.8.5 lib/virtualbox/dvd.rb
virtualbox-0.8.4 lib/virtualbox/dvd.rb
velir_virtualbox-0.8.4 lib/virtualbox/dvd.rb
virtualbox-0.8.3 lib/virtualbox/dvd.rb
virtualbox-0.8.2 lib/virtualbox/dvd.rb
virtualbox-0.8.1 lib/virtualbox/dvd.rb
virtualbox-0.8.0 lib/virtualbox/dvd.rb
virtualbox-0.7.9 lib/virtualbox/dvd.rb
virtualbox-0.7.8 lib/virtualbox/dvd.rb
virtualbox-0.7.7 lib/virtualbox/dvd.rb
virtualbox-0.7.6 lib/virtualbox/dvd.rb
bbrowning-virtualbox-0.7.6.dev lib/virtualbox/dvd.rb
virtualbox-0.7.5 lib/virtualbox/dvd.rb
virtualbox-0.7.4 lib/virtualbox/dvd.rb
virtualbox-0.7.3 lib/virtualbox/dvd.rb
virtualbox-0.7.2 lib/virtualbox/dvd.rb