Class: Partials::Config
- Defined in:
- lib/ceedling/partials/partials.rb
Overview
Data class representing a C partial to be generated
Instance Attribute Summary collapse
-
#header ⇒ Object
Returns the value of attribute header.
-
#module ⇒ Object
Returns the value of attribute module.
-
#source ⇒ Object
Returns the value of attribute source.
-
#types ⇒ Object
Returns the value of attribute types.
Instance Method Summary collapse
-
#initialize(module:, types: [], header: ConfigFileInfo.new, source: ConfigFileInfo.new) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(module:, types: [], header: ConfigFileInfo.new, source: ConfigFileInfo.new) ⇒ Config
Returns a new instance of Config.
29 30 31 |
# File 'lib/ceedling/partials/partials.rb', line 29 def initialize(module:, types: [], header: ConfigFileInfo.new, source: ConfigFileInfo.new) super end |
Instance Attribute Details
#header ⇒ Object
Returns the value of attribute header
28 29 30 |
# File 'lib/ceedling/partials/partials.rb', line 28 def header @header end |
#module ⇒ Object
Returns the value of attribute module
28 29 30 |
# File 'lib/ceedling/partials/partials.rb', line 28 def module @module end |
#source ⇒ Object
Returns the value of attribute source
28 29 30 |
# File 'lib/ceedling/partials/partials.rb', line 28 def source @source end |
#types ⇒ Object
Returns the value of attribute types
28 29 30 |
# File 'lib/ceedling/partials/partials.rb', line 28 def types @types end |