Module: Bobkit::LocationOptions

Includes:
OptionsBase
Included in:
Tasks
Defined in:
lib/bobkit/location_options.rb

Instance Method Summary collapse

Methods included from OptionsBase

#use_defaults

Instance Method Details

#assets_folder(path = nil) ⇒ Object



33
34
35
# File 'lib/bobkit/location_options.rb', line 33

def assets_folder(path=nil)
  setopt :assets_folder, path, 'assets'
end

#assets_output_folder(path = nil) ⇒ Object



37
38
39
# File 'lib/bobkit/location_options.rb', line 37

def assets_output_folder(path=nil)
  setopt :assets_output_folder, path, "#{output_folder}/assets"
end

#coffee_folder(path = nil) ⇒ Object



17
18
19
# File 'lib/bobkit/location_options.rb', line 17

def coffee_folder(path=nil)
  setopt :coffee_folder, path, 'coffee'
end

#css_output_folder(path = nil) ⇒ Object



25
26
27
# File 'lib/bobkit/location_options.rb', line 25

def css_output_folder(path=nil)
  setopt :css_output_folder, path, "#{output_folder}/css"
end

#js_output_folder(path = nil) ⇒ Object



29
30
31
# File 'lib/bobkit/location_options.rb', line 29

def js_output_folder(path=nil)
  setopt :js_output_folder, path, "#{output_folder}/js"
end

#layouts_folder(path = nil) ⇒ Object



9
10
11
# File 'lib/bobkit/location_options.rb', line 9

def layouts_folder(path=nil)
  setopt :layouts_folder, path, "#{templates_folder}/layouts"
end

#output_folder(path = nil) ⇒ Object



21
22
23
# File 'lib/bobkit/location_options.rb', line 21

def output_folder(path=nil)
  setopt :output_folder, path, 'output'
end

#styles_folder(path = nil) ⇒ Object



13
14
15
# File 'lib/bobkit/location_options.rb', line 13

def styles_folder(path=nil)
  setopt :styles_folder, path, 'styles'
end

#templates_folder(path = nil) ⇒ Object



5
6
7
# File 'lib/bobkit/location_options.rb', line 5

def templates_folder(path=nil)
  setopt :templates_folder, path, 'templates'
end