class MikadoGraph::Prerequisites

Attributes

states[R]

Public Class Methods

new() click to toggle source
# File lib/mikado_graph/prerequisites.rb, line 5
def initialize
  @states = []
end

Public Instance Methods

state(state_name) click to toggle source
# File lib/mikado_graph/prerequisites.rb, line 9
def state(state_name)
  new_state = State.new(state_name)
  states << new_state
  new_state
end