method

namespaces_in_content

ruby latest stable - Class: Bundler::Thor::Util

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

namespaces_in_content(contents, file = __FILE__)
public

Given the contents, evaluate it inside the sandbox and returns the namespaces defined in the sandbox.

Parameters

contents

Returns

Array[Object]