Sha256: df462b5e07466460b583844b96757af5d81673f658a965a925d79acb1c3f8bc9
Contents?: true
Size: 582 Bytes
Versions: 2
Compression:
Stored size: 582 Bytes
Contents
# frozen_string_literal: true module Vindetta module Standard class ISO3779 def self.wmi @wmi ||= yml.fetch("wmi") end def self.length @length ||= yml.fetch("length") end def self.vds @vds ||= yml.fetch("vds") end def self.vis @vis ||= yml.fetch("vis") end def self.yml @yml ||= begin File.open(File.expand_path("iso3779.yml", __dir__)) do |file| YAML.load_file(file) end end end private_class_method :yml end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vindetta-0.28.0 | lib/vindetta/standard/iso3779.rb |
vindetta-0.27.0 | lib/vindetta/standard/iso3779.rb |