Class: RubyMarks::ScanArea

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_marks/scan_area.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(coordinates) ⇒ ScanArea

Returns a new instance of ScanArea.



6
7
8
# File 'lib/ruby_marks/scan_area.rb', line 6

def initialize(coordinates)
  @coordinates = coordinates
end

Instance Attribute Details

#coordinatesObject

Returns the value of attribute coordinates.



4
5
6
# File 'lib/ruby_marks/scan_area.rb', line 4

def coordinates
  @coordinates
end

#fileObject

Returns the value of attribute file.



4
5
6
# File 'lib/ruby_marks/scan_area.rb', line 4

def file
  @file
end