Class: Journeyviz::Journey
- Inherits:
-
Object
- Object
- Journeyviz::Journey
- Defined in:
- lib/journeyviz/journey.rb
Instance Method Summary collapse
-
#initialize ⇒ Journey
constructor
A new instance of Journey.
- #validate! ⇒ Object
Methods included from Graphable
Methods included from NodeGroup
#block, #blocks, #find_screen, #inputs, #outputs, #screen, #screens
Constructor Details
#initialize ⇒ Journey
Returns a new instance of Journey.
12 13 14 |
# File 'lib/journeyviz/journey.rb', line 12 def initialize @blocks = [] end |
Instance Method Details
#validate! ⇒ Object
16 17 18 19 20 |
# File 'lib/journeyviz/journey.rb', line 16 def validate! screens.each do |screen| screen.actions.each { |action| validate_action(action) } end end |