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:
5 6 7 8 9 10 11 12 |
# File 'lib/microstation/properties.rb', line 5 def (var = nil) if var @ole_obj.Author = var else @ole_obj.Author rescue nil end end |
#comments=(var = nil) ⇒ Object Also known as: comments
27 28 29 |
# File 'lib/microstation/properties.rb', line 27 def comments=(var = nil) var ? @ole_obj.Comments = var : @ole_obj.Comments end |
#keywords=(var = nil) ⇒ Object Also known as: keywords
43 44 45 46 47 48 49 |
# File 'lib/microstation/properties.rb', line 43 def keywords=(var = nil) if var @ole_obj.Keywords = var else @ole_obj.Keywords rescue nil end end |
#subject=(var = nil) ⇒ Object Also known as: subject
16 17 18 19 20 21 22 23 |
# File 'lib/microstation/properties.rb', line 16 def subject=(var = nil) if var @ole_obj.Subject = var else @ole_obj.Subject rescue nil end end |
#title=(var = nil) ⇒ Object Also known as: title
33 34 35 36 37 38 39 |
# File 'lib/microstation/properties.rb', line 33 def title=(var = nil) if var @ole_obj.Title = var else @ole_obj.Title rescue nil end end |