Class: PartializerConfig::Config
- Defined in:
- lib/ceedling/partials/partializer_config.rb
Overview
Top-level Partial configuration for a single C module.
Instance Attribute Summary collapse
-
#header ⇒ Object
Returns the value of attribute header.
-
#mocks ⇒ Object
Returns the value of attribute mocks.
-
#module ⇒ Object
Returns the value of attribute module.
-
#source ⇒ Object
Returns the value of attribute source.
-
#tests ⇒ Object
Returns the value of attribute tests.
Instance Method Summary collapse
-
#initialize(module:, tests: PartializerConfig::PartialFunctions.new, mocks: PartializerConfig::PartialFunctions.new, header: Partials::ConfigFileInfo.new, source: Partials::ConfigFileInfo.new) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(module:, tests: PartializerConfig::PartialFunctions.new, mocks: PartializerConfig::PartialFunctions.new, header: Partials::ConfigFileInfo.new, source: Partials::ConfigFileInfo.new) ⇒ Config
Returns a new instance of Config.
61 62 63 64 65 66 67 |
# File 'lib/ceedling/partials/partializer_config.rb', line 61 def initialize(module:, tests: PartializerConfig::PartialFunctions.new, mocks: PartializerConfig::PartialFunctions.new, header: Partials::ConfigFileInfo.new, source: Partials::ConfigFileInfo.new) super end |
Instance Attribute Details
#header ⇒ Object
Returns the value of attribute header
60 61 62 |
# File 'lib/ceedling/partials/partializer_config.rb', line 60 def header @header end |
#mocks ⇒ Object
Returns the value of attribute mocks
60 61 62 |
# File 'lib/ceedling/partials/partializer_config.rb', line 60 def mocks @mocks end |
#module ⇒ Object
Returns the value of attribute module
60 61 62 |
# File 'lib/ceedling/partials/partializer_config.rb', line 60 def module @module end |
#source ⇒ Object
Returns the value of attribute source
60 61 62 |
# File 'lib/ceedling/partials/partializer_config.rb', line 60 def source @source end |
#tests ⇒ Object
Returns the value of attribute tests
60 61 62 |
# File 'lib/ceedling/partials/partializer_config.rb', line 60 def tests @tests end |