Sha256: 351969d959a660db4489a0e1004a952355e44be136257553db4fd7919ae746d5
Contents?: true
Size: 274 Bytes
Versions: 3
Compression:
Stored size: 274 Bytes
Contents
module Helpers module Web module Root ROOT_DIR = File.expand_path(File.join(File.dirname(__FILE__),'root')) def root_path(path=nil) if path File.join(ROOT_DIR,path) else ROOT_DIR end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ronin-web-0.3.0.rc1 | spec/web/helpers/root.rb |
ronin-web-0.3.0.pre2 | spec/web/helpers/root.rb |
ronin-web-0.3.0.pre1 | spec/web/helpers/root.rb |