Module: Microstation::OleCollection
- Defined in:
- lib/microstation/tag_set.rb
Instance Method Summary collapse
Instance Method Details
#[](name) ⇒ Object
11 12 13 14 15 |
# File 'lib/microstation/tag_set.rb', line 11 def [](name) ole_obj(name) rescue nil end |
#each ⇒ Object
17 18 19 20 21 |
# File 'lib/microstation/tag_set.rb', line 17 def each @ole_obj.each do |ts| yield wrap(ts) end end |
#initialize(_ole_col) ⇒ Object
7 8 9 |
# File 'lib/microstation/tag_set.rb', line 7 def initialize(_ole_col) @ole_obj = ole end |
#wrap(ts) ⇒ Object
23 24 25 |
# File 'lib/microstation/tag_set.rb', line 23 def wrap(ts) ts end |