Module: Embork::Borkfile::Attributes

Included in:
Embork::Borkfile, DSL
Defined in:
lib/embork/borkfile.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#asset_pathsObject (readonly)

Returns the value of attribute asset_paths.



7
8
9
# File 'lib/embork/borkfile.rb', line 7

def asset_paths
  @asset_paths
end

#backendObject (readonly)

Returns the value of attribute backend.



13
14
15
# File 'lib/embork/borkfile.rb', line 13

def backend
  @backend
end

#compressorObject (readonly)

Returns the value of attribute compressor.



16
17
18
# File 'lib/embork/borkfile.rb', line 16

def compressor
  @compressor
end

#es6_transformObject (readonly)

Returns the value of attribute es6_transform.



17
18
19
# File 'lib/embork/borkfile.rb', line 17

def es6_transform
  @es6_transform
end

#frameworksObject (readonly)

Returns the value of attribute frameworks.



15
16
17
# File 'lib/embork/borkfile.rb', line 15

def frameworks
  @frameworks
end

#helpersObject (readonly)

Returns the value of attribute helpers.



8
9
10
# File 'lib/embork/borkfile.rb', line 8

def helpers
  @helpers
end

#htmlObject (readonly)

Returns the value of attribute html.



14
15
16
# File 'lib/embork/borkfile.rb', line 14

def html
  @html
end

#phrender_index_file(index_file_path = nil) ⇒ Object (readonly)

request uri path to the index file.



23
24
25
# File 'lib/embork/borkfile.rb', line 23

def phrender_index_file
  @phrender_index_file
end

#phrender_javascript_pathsObject (readonly)

Returns the value of attribute phrender_javascript_paths.



19
20
21
# File 'lib/embork/borkfile.rb', line 19

def phrender_javascript_paths
  @phrender_javascript_paths
end

#phrender_raw_javascriptObject (readonly)

Returns the value of attribute phrender_raw_javascript.



20
21
22
# File 'lib/embork/borkfile.rb', line 20

def phrender_raw_javascript
  @phrender_raw_javascript
end

#project_rootObject (readonly)

Returns the value of attribute project_root.



9
10
11
# File 'lib/embork/borkfile.rb', line 9

def project_root
  @project_root
end

#sprockets_enginesObject (readonly)

Returns the value of attribute sprockets_engines.



12
13
14
# File 'lib/embork/borkfile.rb', line 12

def sprockets_engines
  @sprockets_engines
end

#sprockets_postprocessorsObject (readonly)

Returns the value of attribute sprockets_postprocessors.



10
11
12
# File 'lib/embork/borkfile.rb', line 10

def sprockets_postprocessors
  @sprockets_postprocessors
end

#sprockets_preprocessorsObject (readonly)

Returns the value of attribute sprockets_preprocessors.



11
12
13
# File 'lib/embork/borkfile.rb', line 11

def sprockets_preprocessors
  @sprockets_preprocessors
end

Instance Method Details

#es6_namespace(namespace = nil) ⇒ Object



31
32
33
# File 'lib/embork/borkfile.rb', line 31

def es6_namespace(namespace = nil)
  @es6_namespace = namespace || @es6_namespace
end

#keep_old_versions(number_to_keep = nil) ⇒ Object



27
28
29
# File 'lib/embork/borkfile.rb', line 27

def keep_old_versions(number_to_keep = nil)
  @keep_old_versions = number_to_keep || @keep_old_versions
end