Class: SewingKit::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/sewing_kit/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



26
27
28
29
30
31
32
33
34
# File 'lib/sewing_kit/configuration.rb', line 26

def initialize
  @build_options = nil
  @development_options = {}
  @manifest_name = "sewing-kit-manifest.json"
  @manifest_path = nil
  @dev_server_sewing_kit_bin = "node_modules/.bin/sewing-kit"
  @log_level = :inherit
  self.test_manifest_mode = :return_no_assets
end

Instance Attribute Details

#build_optionsObject

Returns the value of attribute build_options.



5
6
7
# File 'lib/sewing_kit/configuration.rb', line 5

def build_options
  @build_options
end

#dev_server_sewing_kit_binObject

Returns the value of attribute dev_server_sewing_kit_bin.



5
6
7
# File 'lib/sewing_kit/configuration.rb', line 5

def dev_server_sewing_kit_bin
  @dev_server_sewing_kit_bin
end

#development_optionsObject

Returns the value of attribute development_options.



5
6
7
# File 'lib/sewing_kit/configuration.rb', line 5

def development_options
  @development_options
end

#log_levelObject

Returns the value of attribute log_level.



7
8
9
# File 'lib/sewing_kit/configuration.rb', line 7

def log_level
  @log_level
end

#manifest_nameObject

Returns the value of attribute manifest_name.



5
6
7
# File 'lib/sewing_kit/configuration.rb', line 5

def manifest_name
  @manifest_name
end

#manifest_pathObject

Returns the value of attribute manifest_path.



5
6
7
# File 'lib/sewing_kit/configuration.rb', line 5

def manifest_path
  @manifest_path
end

#test_manifest_modeObject

Returns the value of attribute test_manifest_mode.



7
8
9
# File 'lib/sewing_kit/configuration.rb', line 7

def test_manifest_mode
  @test_manifest_mode
end