Parent

Class/Module Index [+]

Quicksearch

Fog::Compute::VirtualBox::Real

Public Class Methods

new(options={}) click to toggle source
# File lib/fog/virtual_box/compute.rb, line 32
def initialize(options={})
  begin
    require 'virtualbox'
  rescue LoadError => e
    retry if require('rubygems')
    raise e.message
  end

  @service = ::VirtualBox::Global.global.lib.virtualbox
end

Public Instance Methods

method_missing(method_sym, *arguments, &block) click to toggle source

hack to provide 'requests'

# File lib/fog/virtual_box/compute.rb, line 48
def method_missing(method_sym, *arguments, &block)
  if @service.respond_to?(method_sym)
    @service.send(method_sym, *arguments)
  else
    super
  end
end
respond_to?(method, *) click to toggle source
# File lib/fog/virtual_box/compute.rb, line 43
def respond_to?(method, *)
  super or @service.respond_to? method
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.