class Metasm::Gui::Graph::Box
one box, has a text, an id, and a list of other boxes to/from
Attributes
content[RW]
direct_to[RW]
from[RW]
h[RW]
id[RW]
to[RW]
w[RW]
x[RW]
y[RW]
Public Class Methods
new(id, content=nil)
click to toggle source
# File metasm/gui/dasm_graph.rb, line 15 def initialize(id, content=nil) @id = id @x = @y = @w = @h = 0 @to, @from = [], [] @content = content end
Public Instance Methods
[](a)
click to toggle source
# File metasm/gui/dasm_graph.rb, line 21 def [](a) @content[a] end