# File lib/rudy/backups.rb, line 19 def from_hash(h) Rudy::Backup.from_hash h end
Returns the most recent backup object for the given path
# File lib/rudy/backups.rb, line 12 def get(path) tmp = Rudy::Backup.new path backups = Rudy::Backups.list :path => path return nil unless backups.is_a?(Array) && !backups.empty? backups.first end
[Validate]
Generated with the Darkfish Rdoc Generator 2.