module LB::Project::API
Public Instance Methods
config()
click to toggle source
Get main configuration
@return [Config]
@api private
# File lib/lb/project/api.rb, line 57 def config LB::Project.config end
logger()
click to toggle source
# File lib/lb/project/api.rb, line 65 def logger LB::Project.logger end
public_path()
click to toggle source
Get public path
@return [dir_name]
@api private
# File lib/lb/project/api.rb, line 47 def public_path LB::Project.public_path end
root()
click to toggle source
Get root path
@return [dir_name]
@api private
# File lib/lb/project/api.rb, line 13 def root LB::Project.root end
root_for(file, depth = 2)
click to toggle source
Get root path for file
@param [File] file The file to get the root path from @param [File] depth The depth of the given file relative from the root directory
@return [dir_name]
@api private
# File lib/lb/project/api.rb, line 27 def root_for(file, depth = 2) LB::Project.root_for(file, depth) end
t(*params)
click to toggle source
# File lib/lb/project/api.rb, line 61 def t(*params) LB::Project.t(*params) end
template_path()
click to toggle source
Get template path
@return [dir_name]
@api private
# File lib/lb/project/api.rb, line 37 def template_path LB::Project.template_path end