Class: Docwu::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/docwu/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#docwu_envObject

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

#loggerObject

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

#paramsObject

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

#routesObject

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

#workerObject

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

#workspaceObject

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_pathObject



52
53
54
# File 'lib/docwu/config.rb', line 52

def deploy_path
  @deploy_path ||= ("#{self.workspace}/_deploy")
end

#layouts_pathObject



48
49
50
# File 'lib/docwu/config.rb', line 48

def layouts_path
  @layouts_path ||= ("#{self.workspace}/layouts")
end

#tmp_pathObject



56
57
58
# File 'lib/docwu/config.rb', line 56

def tmp_path
  @tmp_path ||= ("#{self.workspace}/_tmp")
end

#topics_pathObject



44
45
46
# File 'lib/docwu/config.rb', line 44

def topics_path
  @topics_path ||= ("#{self.workspace}/topics")
end