Class: Workshop::Project::Configuration::Build
- Inherits:
-
Object
- Object
- Workshop::Project::Configuration::Build
- Defined in:
- lib/workshop/project/configuration/build.rb
Instance Attribute Summary collapse
-
#core ⇒ Object
Returns the value of attribute core.
-
#f_cpu ⇒ Object
Returns the value of attribute f_cpu.
-
#includes ⇒ Object
Returns the value of attribute includes.
-
#libraries ⇒ Object
Returns the value of attribute libraries.
-
#mcu ⇒ Object
Returns the value of attribute mcu.
-
#pid ⇒ Object
Returns the value of attribute pid.
-
#variant ⇒ Object
Returns the value of attribute variant.
-
#vid ⇒ Object
Returns the value of attribute vid.
Instance Method Summary collapse
-
#initialize ⇒ Build
constructor
A new instance of Build.
Constructor Details
#initialize ⇒ Build
Returns a new instance of Build.
7 8 9 10 11 12 13 14 |
# File 'lib/workshop/project/configuration/build.rb', line 7 def initialize self.mcu = 'atmega328p' self.core = 'arduino' self.variant = 'standard' self.f_cpu = '8000000L' self.libraries = [] self.includes = [] end |
Instance Attribute Details
#core ⇒ Object
Returns the value of attribute core.
5 6 7 |
# File 'lib/workshop/project/configuration/build.rb', line 5 def core @core end |
#f_cpu ⇒ Object
Returns the value of attribute f_cpu.
5 6 7 |
# File 'lib/workshop/project/configuration/build.rb', line 5 def f_cpu @f_cpu end |
#includes ⇒ Object
Returns the value of attribute includes.
5 6 7 |
# File 'lib/workshop/project/configuration/build.rb', line 5 def includes @includes end |
#libraries ⇒ Object
Returns the value of attribute libraries.
5 6 7 |
# File 'lib/workshop/project/configuration/build.rb', line 5 def libraries @libraries end |
#mcu ⇒ Object
Returns the value of attribute mcu.
5 6 7 |
# File 'lib/workshop/project/configuration/build.rb', line 5 def mcu @mcu end |
#pid ⇒ Object
Returns the value of attribute pid.
5 6 7 |
# File 'lib/workshop/project/configuration/build.rb', line 5 def pid @pid end |
#variant ⇒ Object
Returns the value of attribute variant.
5 6 7 |
# File 'lib/workshop/project/configuration/build.rb', line 5 def variant @variant end |
#vid ⇒ Object
Returns the value of attribute vid.
5 6 7 |
# File 'lib/workshop/project/configuration/build.rb', line 5 def vid @vid end |