Class: ObjBoard

Inherits:
Object
  • Object
show all
Defined in:
ext/ae-rad/ae-rad-inspector.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_host, _obji) ⇒ ObjBoard

Returns a new instance of ObjBoard.


882
883
884
885
886
887
# File 'ext/ae-rad/ae-rad-inspector.rb', line 882

def initialize(_host, _obji)
  @obji = _obji
  @objectsList = Array.new
  @count = 0
  @itemindex = -1
end

Instance Attribute Details

#objectsListObject (readonly)

Returns the value of attribute objectsList


881
882
883
# File 'ext/ae-rad/ae-rad-inspector.rb', line 881

def objectsList
  @objectsList
end

Instance Method Details

#delete(_agobj) ⇒ Object


893
894
895
896
# File 'ext/ae-rad/ae-rad-inspector.rb', line 893

def delete(_agobj)
  @objectsList.delete(_agobj)
  @count = @count - 1
end

#get_string(_agobj) ⇒ Object


889
890
891
# File 'ext/ae-rad/ae-rad-inspector.rb', line 889

def get_string(_agobj)
  _agobj.i_name + '  [ < '+ _agobj.obj_class.to_s+' ]'
end

#insert(_agobj) ⇒ Object


898
899
900
901
902
# File 'ext/ae-rad/ae-rad-inspector.rb', line 898

def insert(_agobj)
  @objectsList << _agobj
  @count = @count + 1
  @itemindex = @count - 1
end

#select(_agobj) ⇒ Object


904
905
# File 'ext/ae-rad/ae-rad-inspector.rb', line 904

def select(_agobj)
end