Sha256: db265e54a814f6de05435a9a2e4157c3a9fd938cc468f1c0585e90eac04fa142

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 Bytes

Contents

require 'vbox/vm'
require 'vbox/cmdlineapi'

module VBOX
  # UUID_RE  = /\{\h{8}-\h{4}-\h{4}-\h{4}-\h{12}\}/ # only in ruby 1.9 :(
  UUID_RE  = /\{[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\}/i

  @@verbosity = ENV['VBOX_DEBUG'].to_i

  class << self
    def api
      @@api ||= CmdLineAPI.new
    end

    def verbosity
      @@verbosity
    end

    def verbosity= v
      @@verbosity = v
    end
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
vbox-ng-1.0.0 lib/vbox-ng.rb
vbox-ng-1.0.0 lib/vbox.rb