Method: Transpec::Record#type

Defined in:
lib/transpec/record.rb

#typeObject



27
28
29
30
31
32
33
34
35
# File 'lib/transpec/record.rb', line 27

def type
  @type ||= if old_syntax_type && new_syntax_type
              :conversion
            elsif new_syntax_type
              :addition
            else
              :removal
            end
end