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.
1448 1449 1450 1451 |
# File 'lib/HDLRuby/hruby_viz.rb', line 1448 def initialize(*ports) @ports = ports @path = [] end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
1446 1447 1448 |
# File 'lib/HDLRuby/hruby_viz.rb', line 1446 def path @path end |
#ports ⇒ Object (readonly)
Returns the value of attribute ports.
1446 1447 1448 |
# File 'lib/HDLRuby/hruby_viz.rb', line 1446 def ports @ports end |