class Shiftzilla::SnapData
Attributes
bug_ids[RW]
cc_ids[RW]
closed_bugs[RW]
closed_cc[RW]
closed_tb[RW]
id[R]
new_bugs[RW]
new_cc[RW]
new_tb[RW]
tb_ids[RW]
Public Class Methods
new(snapshot)
click to toggle source
# File lib/shiftzilla/snap_data.rb, line 6 def initialize(snapshot) @id = snapshot @bug_ids = [] @tb_ids = [] @cc_ids = [] @new_bugs = 0 @closed_bugs = 0 @new_tb = 0 @closed_tb = 0 @new_cc = 0 @closed_cc = 0 end
Public Instance Methods
total_bugs()
click to toggle source
# File lib/shiftzilla/snap_data.rb, line 19 def total_bugs @bug_ids.length end
total_cc()
click to toggle source
# File lib/shiftzilla/snap_data.rb, line 27 def total_cc @cc_ids.length end
total_tb()
click to toggle source
# File lib/shiftzilla/snap_data.rb, line 23 def total_tb @tb_ids.length end