Module: ChurnVsComplexity::Delta::Serializer

Defined in:
lib/churn_vs_complexity/delta/serializer.rb

Defined Under Namespace

Modules: CSV, PassThrough, Summary

Class Method Summary collapse

Class Method Details

.resolve(serializer) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/churn_vs_complexity/delta/serializer.rb', line 6

def self.resolve(serializer)
  case serializer
  when :none
    Normal::Serializer::None
  when :csv
    CSV
  when :summary
    Summary
  when :pass_through
    PassThrough
  end
end