module Microstation::OleCollection

Public Class Methods

new(ole_col) click to toggle source
# File lib/microstation/tag_set.rb, line 9
def initialize(ole_col)
  @ole_obj = ole
end

Public Instance Methods

[](name) click to toggle source
# File lib/microstation/tag_set.rb, line 13
def [](name)
  ole_obj(name) rescue nil
end
each() { |wrap(ts)| ... } click to toggle source
# File lib/microstation/tag_set.rb, line 17
def each
  @ole_obj.each do |ts|
    yield wrap(ts)
  end
end
wrap(ts) click to toggle source
# File lib/microstation/tag_set.rb, line 23
def wrap(ts)
  ts
end