Class: FasterPath::Rust::FromRustArray

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/faster_path.rb

Instance Method Summary collapse

Instance Method Details

#to_a ⇒ Object



50
51
52
# File 'lib/faster_path.rb', line 50

def to_a
  self[:data].get_array_of_string(0, self[:len]).compact
end