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