Method: Innate::Node#root_mappings

Defined in:
lib/innate/node.rb

#root_mappingsArray

make sure this is an Array and a new instance so modification on the wrapping array doesn’t affect the original option. [*arr].object_id == arr.object_id if arr is an Array

Returns:

  • (Array)

    list of root directories

Author:

  • manveru



907
908
909
# File 'lib/innate/node.rb', line 907

def root_mappings
  [*options.roots].flatten
end