Sha256: bdc37fef57cdcff2d4b3bcd1b434783b8c94d171093f9d891d9fe0b973098f6c
Contents?: true
Size: 582 Bytes
Versions: 53
Compression:
Stored size: 582 Bytes
Contents
module NdrImport # NdrImport::StandardMappings stores the standard mappings hash class StandardMappings # mappings are stored as a class level instance variable class << self # Gets the standard mappings def mappings if defined?(@standard_mappings) @standard_mappings else fail 'NdrImport::StandardMappings not configured!' end end # Sets the standard mappings def mappings=(hash) fail ArgumentError unless hash.is_a?(Hash) @standard_mappings = hash end end end end
Version data entries
53 entries across 53 versions & 1 rubygems