Top Level Namespace

Defined Under Namespace

Modules: RMceUploadr, Sinatra Classes: Fash, Mash

Constant Summary collapse

RACK_ENV =

RMceUploader rack middleware app unless defined? RMceUploadr

ENV["RACK_ENV"] || ENV["RAILS_ENV"] || "development"
RMCE_ROOT_DIR =
File.expand_path(File.dirname(__FILE__))

Instance Method Summary collapse

Instance Method Details

#rmce_uploadr_root_path(*args) ⇒ Object

returns a path related to where this file is directory



8
9
10
# File 'lib/rmce_uploadr.rb', line 8

def rmce_uploadr_root_path(*args)
  File.join(RMCE_ROOT_DIR, *args)
end