Sha256: 560e29936e35e149932f4a9dffc7b16d16a994c0b0d0d2b8ab9d4165f2396b99
Contents?: true
Size: 557 Bytes
Versions: 1
Compression:
Stored size: 557 Bytes
Contents
require 'yaml' module LVM module Attributes VERSION = '0.0.2' def load(version, name) cwd = File.dirname(__FILE__) # was going to be symlinks, but rubygems didn't seem to want to package # them if version == "2.02.28" version = "2.02.27" elsif ((31..39).map { |x| "2.02.#{x}" }).include?(version) version = "2.02.30" end file = File.join(cwd, "attributes", version, name) return YAML.load_file(file) end module_function :load end # module Attributes end # module LVM
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
di-ruby-lvm-attrib-0.0.2 | lib/lvm/attributes.rb |