Module: LB::Project::API
- Defined in:
- lib/lb/project/api.rb
Overview
LB::Project API
Instance Method Summary collapse
-
#config ⇒ Config
private
Get main configuration.
- #logger ⇒ Object
-
#public_path ⇒ dir_name
private
Get public path.
-
#root ⇒ dir_name
private
Get root path.
-
#root_for(file, depth = 2) ⇒ dir_name
private
Get root path for file.
- #t(*params) ⇒ Object
-
#template_path ⇒ dir_name
private
Get template path.
Instance Method Details
#config ⇒ Config
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Get main configuration
57 58 59 |
# File 'lib/lb/project/api.rb', line 57 def config LB::Project.config end |
#public_path ⇒ dir_name
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Get public path
47 48 49 |
# File 'lib/lb/project/api.rb', line 47 def public_path LB::Project.public_path end |
#root ⇒ dir_name
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Get root path
13 14 15 |
# File 'lib/lb/project/api.rb', line 13 def root LB::Project.root end |
#root_for(file, depth = 2) ⇒ dir_name
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Get root path for file
directory
27 28 29 |
# File 'lib/lb/project/api.rb', line 27 def root_for(file, depth = 2) LB::Project.root_for(file, depth) end |
#t(*params) ⇒ Object
61 62 63 |
# File 'lib/lb/project/api.rb', line 61 def t(*params) LB::Project.t(*params) end |
#template_path ⇒ dir_name
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Get template path
37 38 39 |
# File 'lib/lb/project/api.rb', line 37 def template_path LB::Project.template_path end |