Commit 3e12b2c0080366b3ea83a3b6348a9cd3c8afd824
1 parent
3e5fe974
Exists in
master
and in
28 other branches
[Mezuro] converting collect time
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
plugins/mezuro/lib/kalibro/entities/project_result.rb
| 1 | 1 | class Kalibro::Entities::ProjectResult < Kalibro::Entities::Entity |
| 2 | 2 | |
| 3 | - attr_accessor :project, :date, :load_time, :analysis_time, :source_tree, :collect_time | |
| 3 | + attr_accessor :project, :date, :load_time, :collect_time, :analysis_time, :source_tree | |
| 4 | 4 | |
| 5 | 5 | def project=(value) |
| 6 | 6 | @project = to_entity(value, Kalibro::Entities::Project) |
| ... | ... | @@ -15,6 +15,10 @@ class Kalibro::Entities::ProjectResult < Kalibro::Entities::Entity |
| 15 | 15 | @load_time = value.to_i |
| 16 | 16 | end |
| 17 | 17 | |
| 18 | + def collect_time=(value) | |
| 19 | + @collect_time = value.to_i | |
| 20 | + end | |
| 21 | + | |
| 18 | 22 | def analysis_time=(value) |
| 19 | 23 | @analysis_time = value.to_i |
| 20 | 24 | end | ... | ... |