Method: NOTAM::Item#type

Defined in:
lib/notam/item.rb

#typeSymbol

Type of the item

Returns:

  • (Symbol)

    either :Header, :Q, (:A..:G) or :Footer



122
123
124
# File 'lib/notam/item.rb', line 122

def type
  self.class.to_s[7..].to_sym
end