Class: Workshop::Project::Configuration::Upload

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeUpload

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

#includesObject

Returns the value of attribute includes.



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

def includes
  @includes
end

#protocolObject

Returns the value of attribute protocol.



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

def protocol
  @protocol
end

#speedObject

Returns the value of attribute speed.



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

def speed
  @speed
end