Sha256: 76803e95f84326490eb6adf33a255f139db57297531c203abfe3f07765e88224
Contents?: true
Size: 428 Bytes
Versions: 2
Compression:
Stored size: 428 Bytes
Contents
class Sabnzbd class Slot attr_accessor :time_left, :mb, :msgid, :filename, :mb_left, :id def initialize(args={}) @time_left = args["timeleft"] || Time.now @mb = args["mb"] || 0.00 @msgid = args["msgid"] || nil @filename = args["filename"] || "No filename" @mb_left = args["mbleft"] || 0.00 @id = args["id"] || "-" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sabnzbd-0.1.1 | lib/sabnzbd/slot.rb |
sabnzbd-0.1.0 | lib/sabnzbd/slot.rb |