Class: Workshop::Project::Configuration::Build

Inherits:
Object
  • Object
show all
Defined in:
lib/workshop/project/configuration/build.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBuild

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

#coreObject

Returns the value of attribute core.



5
6
7
# File 'lib/workshop/project/configuration/build.rb', line 5

def core
  @core
end

#f_cpuObject

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

#includesObject

Returns the value of attribute includes.



5
6
7
# File 'lib/workshop/project/configuration/build.rb', line 5

def includes
  @includes
end

#librariesObject

Returns the value of attribute libraries.



5
6
7
# File 'lib/workshop/project/configuration/build.rb', line 5

def libraries
  @libraries
end

#mcuObject

Returns the value of attribute mcu.



5
6
7
# File 'lib/workshop/project/configuration/build.rb', line 5

def mcu
  @mcu
end

#pidObject

Returns the value of attribute pid.



5
6
7
# File 'lib/workshop/project/configuration/build.rb', line 5

def pid
  @pid
end

#variantObject

Returns the value of attribute variant.



5
6
7
# File 'lib/workshop/project/configuration/build.rb', line 5

def variant
  @variant
end

#vidObject

Returns the value of attribute vid.



5
6
7
# File 'lib/workshop/project/configuration/build.rb', line 5

def vid
  @vid
end