Module: Bobkit::LocationOptions

Instance Method Summary collapse

Methods included from OptionsBase

#options, #setopt, #use_defaults

Instance Method Details

#assets_folder(path = nil) ⇒ Object



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

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

#assets_output_folder(path = nil) ⇒ Object



49
50
51
# File 'lib/bobkit/location_options.rb', line 49

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

#coffee_folder(path = nil) ⇒ Object



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

def coffee_folder(path = nil)
  setopt :coffee_folder, path, "#{root_folder}/coffee"
end

#css_output_folder(path = nil) ⇒ Object



41
42
43
# File 'lib/bobkit/location_options.rb', line 41

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

#js_output_folder(path = nil) ⇒ Object



45
46
47
# File 'lib/bobkit/location_options.rb', line 45

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

#layouts_folder(path = nil) ⇒ Object



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

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

#locales_folder(path = nil) ⇒ Object



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

def locales_folder(path = nil)
  setopt :locales_folder, path, "#{root_folder}/locales"
end

#markdown_folder(path = nil) ⇒ Object



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

def markdown_folder(path = nil)
  setopt :markdown_folder, path, "#{root_folder}/markdown"
end

#output_folder(path = nil) ⇒ Object



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

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

#root_folder(path = nil) ⇒ Object



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

def root_folder(path = nil)
  setopt :root_folder, path, '.'
end

#styles_folder(path = nil) ⇒ Object



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

def styles_folder(path = nil)
  setopt :styles_folder, path, "#{root_folder}/styles"
end

#templates_folder(path = nil) ⇒ Object



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

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