Class: Yobi::DiffStatistics
Overview
Instance Method Summary
collapse
Methods inherited from FancyHash
#initialize, #inspect, #pretty_print
Instance Method Details
135
136
137
|
# File 'lib/yobi/repository/diff.rb', line 135
def added
@added ||= DiffStat.new(self["added"] || {})
end
|
#changed_files ⇒ Integer
130
131
132
|
# File 'lib/yobi/repository/diff.rb', line 130
def changed_files
self["changed_files"] || 0
end
|
140
141
142
|
# File 'lib/yobi/repository/diff.rb', line 140
def removed
@removed ||= DiffStat.new(self["removed"] || {})
end
|
#source_snapshot ⇒ String?
120
121
122
|
# File 'lib/yobi/repository/diff.rb', line 120
def source_snapshot
self["source_snapshot"]
end
|
#target_snapshot ⇒ String?
125
126
127
|
# File 'lib/yobi/repository/diff.rb', line 125
def target_snapshot
self["target_snapshot"]
end
|