Class: AprsParser::Converters::AprsPath
- Inherits:
-
Object
- Object
- AprsParser::Converters::AprsPath
- Extended by:
- FFI::DataConverter
- Defined in:
- lib/aprs_parser/converters/path.rb
Class Method Summary collapse
-
.from_native(value, _context) ⇒ Object
The path field is represented by an array of at least two strings.
- .reference_required? ⇒ Boolean
Class Method Details
.from_native(value, _context) ⇒ Object
The path field is represented by an array of at least two strings
9 10 11 |
# File 'lib/aprs_parser/converters/path.rb', line 9 def from_native(value, _context) value.get_array_of_string(0) unless value.null? end |
.reference_required? ⇒ Boolean
13 14 15 |
# File 'lib/aprs_parser/converters/path.rb', line 13 def reference_required? false end |