Sha256: 930f2fbb58ae2e9f837ab2dda4eb3f83fe811f6606ac0c82e8066e26894fc837

Contents?: true

Size: 393 Bytes

Versions: 13

Compression:

Stored size: 393 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
lrama-0.6.9 lib/lrama/counterexamples/path.rb
lrama-0.6.8 lib/lrama/counterexamples/path.rb
lrama-0.6.7 lib/lrama/counterexamples/path.rb
lrama-0.6.6 lib/lrama/counterexamples/path.rb
lrama-0.6.5 lib/lrama/counterexamples/path.rb
lrama-0.6.4 lib/lrama/counterexamples/path.rb
lrama-0.6.3 lib/lrama/counterexamples/path.rb
lrama-0.6.2 lib/lrama/counterexamples/path.rb
lrama-0.6.1 lib/lrama/counterexamples/path.rb
lrama-0.6.0 lib/lrama/counterexamples/path.rb
lrama-0.5.12 lib/lrama/counterexamples/path.rb
lrama-0.5.11 lib/lrama/counterexamples/path.rb
lrama-0.5.10 lib/lrama/counterexamples/path.rb