Module: Microstation::Properties
- Included in:
- Drawing
- Defined in:
- lib/microstation/properties.rb
Instance Method Summary collapse
- #author=(var = nil) ⇒ Object (also: #author)
- #comments=(var = nil) ⇒ Object (also: #comments)
- #keywords=(var = nil) ⇒ Object (also: #keywords)
- #subject=(var = nil) ⇒ Object (also: #subject)
- #title=(var = nil) ⇒ Object (also: #title)
Instance Method Details
#author=(var = nil) ⇒ Object Also known as:
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/microstation/properties.rb', line 3 def (var = nil) if var @ole_obj.Author = var else begin @ole_obj.Author rescue nil end end end |
#comments=(var = nil) ⇒ Object Also known as: comments
31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/microstation/properties.rb', line 31 def comments=(var = nil) if var @ole_obj.Comments = var else begin @ole_obj.Comments rescue nil end end end |
#keywords=(var = nil) ⇒ Object Also known as: keywords
59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/microstation/properties.rb', line 59 def keywords=(var = nil) if var @ole_obj.Keywords = var else begin @ole_obj.Keywords rescue nil end end end |
#subject=(var = nil) ⇒ Object Also known as: subject
17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/microstation/properties.rb', line 17 def subject=(var = nil) if var @ole_obj.Subject = var else begin @ole_obj.Subject rescue nil end end end |
#title=(var = nil) ⇒ Object Also known as: title
45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/microstation/properties.rb', line 45 def title=(var = nil) if var @ole_obj.Title = var else begin @ole_obj.Title rescue nil end end end |