Class: Journeyviz::Block

Inherits:
Object
  • Object
show all
Includes:
Graphable, NodeGroup, NormalizedName
Defined in:
lib/journeyviz/block.rb

Instance Attribute Summary

Attributes included from NormalizedName

#name

Instance Method Summary collapse

Methods included from Graphable

#graph

Methods included from NodeGroup

#block, #blocks, #find_screen, #inputs, #outputs, #screen, #screens

Constructor Details

#initialize(name, scope = nil) ⇒ Block

Returns a new instance of Block.



15
16
17
18
# File 'lib/journeyviz/block.rb', line 15

def initialize(name, scope = nil)
  assign_normalize_name(name)
  assign_scope(scope)
end