Class: Workshop::Project::Configuration::Upload
- Inherits:
-
Object
- Object
- Workshop::Project::Configuration::Upload
- Defined in:
- lib/workshop/project/configuration/upload.rb
Instance Attribute Summary collapse
-
#includes ⇒ Object
Returns the value of attribute includes.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#speed ⇒ Object
Returns the value of attribute speed.
Instance Method Summary collapse
-
#initialize ⇒ Upload
constructor
A new instance of Upload.
Constructor Details
#initialize ⇒ Upload
Returns a new instance of Upload.
7 8 9 10 11 |
# File 'lib/workshop/project/configuration/upload.rb', line 7 def initialize self.protocol = 'stk500' self.speed = 57600 self.includes = [] end |
Instance Attribute Details
#includes ⇒ Object
Returns the value of attribute includes.
5 6 7 |
# File 'lib/workshop/project/configuration/upload.rb', line 5 def includes @includes end |
#protocol ⇒ Object
Returns the value of attribute protocol.
5 6 7 |
# File 'lib/workshop/project/configuration/upload.rb', line 5 def protocol @protocol end |
#speed ⇒ Object
Returns the value of attribute speed.
5 6 7 |
# File 'lib/workshop/project/configuration/upload.rb', line 5 def speed @speed end |