Sha256: ba3b67b8c8e7db7e9ae02a32af7b33f82168983a8818168a13268471bcd8d861

Contents?: true

Size: 432 Bytes

Versions: 4

Compression:

Stored size: 432 Bytes

Contents

module Hanoi
  module Jane
    class HanoiException < Exception
      attr_reader :text

      def initialize text
        @text = text
      end
    end

    class SearchException < HanoiException
      attr_reader :text

      def initialize text
        @text = text
      end
    end

    class MatrixException < HanoiException
      attr_reader :text

      def initialize text
        @text = text
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hanoi-jane-0.4.0 lib/hanoi/jane/exceptions.rb
hanoi-jane-0.3.4 lib/hanoi/jane/exceptions.rb
hanoi-jane-0.3.3 lib/hanoi/jane/exceptions.rb
hanoi-jane-0.3.1 lib/hanoi/jane/exceptions.rb