module VimMappingRegistry

Constants

YML_DIR

Public Class Methods

argInfoMap(cType) click to toggle source
# File lib/VMwareWebService/VimMappingRegistry.rb, line 13
def self.argInfoMap(cType)
  registry[cType]
end
args(cType) click to toggle source
# File lib/VMwareWebService/VimMappingRegistry.rb, line 17
def self.args(cType)
  registry[cType] && registry[cType].keys
end
registry() click to toggle source
# File lib/VMwareWebService/VimMappingRegistry.rb, line 6
def self.registry
  @registry ||= Hash.new do |h, k|
    file = File.join(YML_DIR, "#{k}.yml")
    h[k] = File.exist?(file) ? YAML.load_file(file) : nil
  end
end