Class: Microstation::Model
- Inherits:
-
Object
- Object
- Microstation::Model
- Includes:
- ModelTrait
- Defined in:
- lib/microstation/model.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
-
#drawing ⇒ Object
readonly
Returns the value of attribute drawing.
-
#ole_obj ⇒ Object
readonly
Returns the value of attribute ole_obj.
Instance Method Summary collapse
-
#initialize(app, drawing, ole) ⇒ Model
constructor
A new instance of Model.
Methods included from ModelTrait
#activate, #active?, #add_element, #change_text_suffix, #find_by_id, #get_matching_text, #get_selected_elements, #get_selected_text, #get_tagsets_in_model_hash, #get_tagsets_in_model_hash_old, #locked?, #name, #readonly?, #scan_model, #scan_tags_filtered, #select_element, #select_tagset_instances, #tags_to_hash, #to_s, #unselect_element
Methods included from ScanTrait
#cells_criteria, #create_scanner, #graphics_criteria, #lines_criteria, #scan, #scan_cell_with_name, #scan_cells, #scan_graphical, #scan_lines, #scan_tags, #scan_text, #tags_criteria, #text_criteria
Methods included from Graphics
Constructor Details
#initialize(app, drawing, ole) ⇒ Model
Returns a new instance of Model.
30 31 32 33 34 |
# File 'lib/microstation/model.rb', line 30 def initialize(app, drawing, ole) @app = app @drawing = drawing @ole_obj = ole end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
28 29 30 |
# File 'lib/microstation/model.rb', line 28 def app @app end |
#drawing ⇒ Object (readonly)
Returns the value of attribute drawing.
28 29 30 |
# File 'lib/microstation/model.rb', line 28 def drawing @drawing end |
#ole_obj ⇒ Object (readonly)
Returns the value of attribute ole_obj.
28 29 30 |
# File 'lib/microstation/model.rb', line 28 def ole_obj @ole_obj end |