Class: GitIgnoreRust::StringArray
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- GitIgnoreRust::StringArray
- Defined in:
- lib/gitignore_rb/rust.rb
Overview
Struct used to describe a Ruby Array of Strings being passed from Rust.
Instance Method Summary collapse
Instance Method Details
#to_a ⇒ Object
19 20 21 |
# File 'lib/gitignore_rb/rust.rb', line 19 def to_a self[:data].get_array_of_string(0, self[:len]).compact end |