diff options
Diffstat (limited to 'tool/lrama/lib/lrama/counterexamples/path.rb')
-rw-r--r-- | tool/lrama/lib/lrama/counterexamples/path.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tool/lrama/lib/lrama/counterexamples/path.rb b/tool/lrama/lib/lrama/counterexamples/path.rb new file mode 100644 index 0000000000..edba67a3b6 --- /dev/null +++ b/tool/lrama/lib/lrama/counterexamples/path.rb @@ -0,0 +1,23 @@ +module Lrama + class Counterexamples + class Path + def initialize(from_state_item, to_state_item) + @from_state_item = from_state_item + @to_state_item = to_state_item + end + + def from + @from_state_item + end + + def to + @to_state_item + end + + def to_s + "#<Path(#{type})>" + end + alias :inspect :to_s + end + end +end |