Class: RubyMarks::ScanArea
- Inherits:
-
Object
- Object
- RubyMarks::ScanArea
- Defined in:
- lib/ruby_marks/scan_area.rb
Instance Attribute Summary collapse
-
#coordinates ⇒ Object
Returns the value of attribute coordinates.
-
#file ⇒ Object
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(coordinates) ⇒ ScanArea
constructor
A new instance of ScanArea.
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
#coordinates ⇒ Object
Returns the value of attribute coordinates.
4 5 6 |
# File 'lib/ruby_marks/scan_area.rb', line 4 def coordinates @coordinates end |
#file ⇒ Object
Returns the value of attribute file.
4 5 6 |
# File 'lib/ruby_marks/scan_area.rb', line 4 def file @file end |