Sha256: ac2a919dfd94bc59976a406ce9e9324083493e026b489e3b20ea04a6403bcdb8
Contents?: true
Size: 425 Bytes
Versions: 4
Compression:
Stored size: 425 Bytes
Contents
module Rudy module Disks RTYPE = 'disk'.freeze extend self extend Rudy::Metadata::ClassMethods include Rudy::Huxtable extend Rudy::Huxtable def get(path) tmp = Rudy::Disk.new path record = Rudy::Metadata.get tmp.name return nil unless record.is_a?(Hash) tmp.from_hash record end def from_hash(h) Rudy::Disk.from_hash h end end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
solutious-rudy-0.9.0 | lib/rudy/disks.rb |
solutious-rudy-0.9.1 | lib/rudy/disks.rb |
rudy-0.9.0 | lib/rudy/disks.rb |
rudy-0.9.1 | lib/rudy/disks.rb |