Class: SewingKit::Configuration
- Inherits:
-
Object
- Object
- SewingKit::Configuration
- Defined in:
- lib/sewing_kit/configuration.rb
Instance Attribute Summary collapse
-
#build_options ⇒ Object
Returns the value of attribute build_options.
-
#dev_server_sewing_kit_bin ⇒ Object
Returns the value of attribute dev_server_sewing_kit_bin.
-
#development_options ⇒ Object
Returns the value of attribute development_options.
-
#log_level ⇒ Object
Returns the value of attribute log_level.
-
#manifest_name ⇒ Object
Returns the value of attribute manifest_name.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#test_manifest_mode ⇒ Object
Returns the value of attribute test_manifest_mode.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_options ⇒ Object
Returns the value of attribute build_options.
5 6 7 |
# File 'lib/sewing_kit/configuration.rb', line 5 def @build_options end |
#dev_server_sewing_kit_bin ⇒ Object
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_options ⇒ Object
Returns the value of attribute development_options.
5 6 7 |
# File 'lib/sewing_kit/configuration.rb', line 5 def @development_options end |
#log_level ⇒ Object
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_name ⇒ Object
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_path ⇒ Object
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_mode ⇒ Object
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 |