Method: Padrino.mounted_root

Defined in:
padrino-core/lib/padrino-core/mounter.rb

.mounted_root(*args) ⇒ String

Returns the root to the mounted apps base directory.

Parameters:

  • args (Array)

Returns:

  • (String)

    the root to the mounted apps base directory.



237
238
239
# File 'padrino-core/lib/padrino-core/mounter.rb', line 237

def mounted_root(*args)
  Padrino.root(@mounted_root ||= "", *args)
end