Class: Lrama::Counterexamples::StartPath

Inherits:
Path
  • Object
show all
Defined in:
lib/lrama/counterexamples/path.rb

Instance Method Summary collapse

Methods inherited from Path

#from, #to, #to_s

Constructor Details

#initialize(to_state_item) ⇒ StartPath

Returns a new instance of StartPath.



24
25
26
# File 'lib/lrama/counterexamples/path.rb', line 24

def initialize(to_state_item)
  super nil, to_state_item
end

Instance Method Details

#production?Boolean

Returns:

  • (Boolean)


36
37
38
# File 'lib/lrama/counterexamples/path.rb', line 36

def production?
  false
end

#transition?Boolean

Returns:

  • (Boolean)


32
33
34
# File 'lib/lrama/counterexamples/path.rb', line 32

def transition?
  false
end

#typeObject



28
29
30
# File 'lib/lrama/counterexamples/path.rb', line 28

def type
  :start
end