class Seafoam::Block

A control-flow basic block

Attributes

id[R]
nodes[R]

Public Class Methods

new(id, nodes) click to toggle source
# File lib/seafoam/graph.rb, line 105
def initialize(id, nodes)
  @id = id
  @nodes = nodes
end

Public Instance Methods

inspect() click to toggle source

Inspect.

# File lib/seafoam/graph.rb, line 111
def inspect
  "<Block #{id}>"
end