Class: Docwu::Config
- Inherits:
-
Object
- Object
- Docwu::Config
- Defined in:
- lib/docwu/config.rb
Instance Attribute Summary collapse
-
#docwu_env ⇒ Object
attr_reader :src_paths, :asset_paths, :layout_paths, :output_path, :data.
-
#logger ⇒ Object
attr_reader :src_paths, :asset_paths, :layout_paths, :output_path, :data.
-
#params ⇒ Object
attr_reader :src_paths, :asset_paths, :layout_paths, :output_path, :data.
-
#routes ⇒ Object
attr_reader :src_paths, :asset_paths, :layout_paths, :output_path, :data.
-
#worker ⇒ Object
attr_reader :src_paths, :asset_paths, :layout_paths, :output_path, :data.
-
#workspace ⇒ Object
attr_reader :src_paths, :asset_paths, :layout_paths, :output_path, :data.
Instance Method Summary collapse
Instance Attribute Details
#docwu_env ⇒ Object
attr_reader :src_paths, :asset_paths, :layout_paths, :output_path, :data
18 19 20 |
# File 'lib/docwu/config.rb', line 18 def docwu_env @docwu_env end |
#logger ⇒ Object
attr_reader :src_paths, :asset_paths, :layout_paths, :output_path, :data
18 19 20 |
# File 'lib/docwu/config.rb', line 18 def logger @logger end |
#params ⇒ Object
attr_reader :src_paths, :asset_paths, :layout_paths, :output_path, :data
18 19 20 |
# File 'lib/docwu/config.rb', line 18 def params @params end |
#routes ⇒ Object
attr_reader :src_paths, :asset_paths, :layout_paths, :output_path, :data
18 19 20 |
# File 'lib/docwu/config.rb', line 18 def routes @routes end |
#worker ⇒ Object
attr_reader :src_paths, :asset_paths, :layout_paths, :output_path, :data
18 19 20 |
# File 'lib/docwu/config.rb', line 18 def worker @worker end |
#workspace ⇒ Object
attr_reader :src_paths, :asset_paths, :layout_paths, :output_path, :data
18 19 20 |
# File 'lib/docwu/config.rb', line 18 def workspace @workspace end |
Instance Method Details
#deploy_path ⇒ Object
52 53 54 |
# File 'lib/docwu/config.rb', line 52 def deploy_path @deploy_path ||= ("#{self.workspace}/_deploy") end |
#layouts_path ⇒ Object
48 49 50 |
# File 'lib/docwu/config.rb', line 48 def layouts_path @layouts_path ||= ("#{self.workspace}/layouts") end |
#tmp_path ⇒ Object
56 57 58 |
# File 'lib/docwu/config.rb', line 56 def tmp_path @tmp_path ||= ("#{self.workspace}/_tmp") end |
#topics_path ⇒ Object
44 45 46 |
# File 'lib/docwu/config.rb', line 44 def topics_path @topics_path ||= ("#{self.workspace}/topics") end |