Method: Statistic#init_data
- Defined in:
- lib/terrimporter/statistic.rb
#init_data(type) ⇒ Object
19 20 21 |
# File 'lib/terrimporter/statistic.rb', line 19 def init_data(type) self.statistics[type] = {:count => 0, :message => ""} if self.statistics[type].nil? end |