Sha256: d93072762ba6cb6b08279cbc7bb6d3b5a4ea9f2bf73b0f3f63175b313f06159b
Contents?: true
Size: 557 Bytes
Versions: 1
Compression:
Stored size: 557 Bytes
Contents
require 'yaml' module LVM module Attributes VERSION = '0.0.9' 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.9 | lib/lvm/attributes.rb |