class Microstation::Cell

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/microstation/cell.rb, line 5
def initialize(*args)
  super(*args)
  @should_replace = false
  @replacement = nil
end

Public Instance Methods

name() click to toggle source
# File lib/microstation/cell.rb, line 15
def name
  ole_obj.Name
end
shared_cell?() click to toggle source
# File lib/microstation/cell.rb, line 11
def shared_cell?
  ole_obj.IsSharedCellElement
end
text_elements() { |el| ... } click to toggle source
# File lib/microstation/cell.rb, line 20
def text_elements
  return to_enum(:text_elements) unless block_given?
  each do |el|
    yield el if el.textual?
  end
end