Aura Aura Extension path

path

Returns the path of the extension.

Description

If arguments are given, they are joined into the extension's path. nil will be returned if the path does not exist.

Example

Aura::Extension['base'].path             #=> ~/aura/extensions/base
Aura::Extension['base'].path('init.rb')  #=> ~/aura/extensions/base/init.rb