Class: OLE_QA::Framework::Subline_Object
- Inherits:
-
Line_Object
- Object
- Common_Object
- Data_Object
- Line_Object
- OLE_QA::Framework::Subline_Object
- Defined in:
- lib/common/subline_object.rb
Overview
A Data Object in OLE that represents a line nested under another line.
-
A subline object can be recursed under another subline object, use of the “@parent_line” instance variable should allow for continued recursion ad nauseam.
Direct Known Subclasses
OLEFS::Accounting_Line, OLEFS::Copies_Line, OLEFS::Exception_Notes_Line, OLEFS::Invoice_Line_Item, OLEFS::Notes_Line, OLEFS::Processing_Line, OLEFS::Receipt_Notes_Line, OLELS::Ownership_Note
Instance Attribute Summary collapse
-
#parent_line ⇒ Object
readonly
The line under which this subline object was created.
Attributes inherited from Line_Object
Attributes inherited from Common_Object
Instance Method Summary collapse
-
#initialize(ole_session, parent_line, line_number = 1) ⇒ Subline_Object
constructor
A new instance of Subline_Object.
Methods inherited from Line_Object
Methods inherited from Common_Object
Methods included from Helpers
#browser, #load_yml, #set_element, #set_function
Constructor Details
#initialize(ole_session, parent_line, line_number = 1) ⇒ Subline_Object
Returns a new instance of Subline_Object.
26 27 28 29 |
# File 'lib/common/subline_object.rb', line 26 def initialize(ole_session, parent_line, line_number = 1) @parent_line = parent_line super(ole_session, line_number) end |
Instance Attribute Details
#parent_line ⇒ Object (readonly)
The line under which this subline object was created.
22 23 24 |
# File 'lib/common/subline_object.rb', line 22 def parent_line @parent_line end |