Class: HDLRuby::Viz::IC::Route
- Inherits:
-
Object
- Object
- HDLRuby::Viz::IC::Route
- Defined in:
- lib/HDLRuby/hruby_viz.rb
Overview
A route.
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#ports ⇒ Object
readonly
Returns the value of attribute ports.
Instance Method Summary collapse
-
#initialize(*ports) ⇒ Route
constructor
A new instance of Route.
Constructor Details
#initialize(*ports) ⇒ Route
Returns a new instance of Route.
1470 1471 1472 1473 |
# File 'lib/HDLRuby/hruby_viz.rb', line 1470 def initialize(*ports) @ports = ports @path = [] end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
1468 1469 1470 |
# File 'lib/HDLRuby/hruby_viz.rb', line 1468 def path @path end |
#ports ⇒ Object (readonly)
Returns the value of attribute ports.
1468 1469 1470 |
# File 'lib/HDLRuby/hruby_viz.rb', line 1468 def ports @ports end |