rdodson41/ruby-lox

View on GitHub
lib/lox/lexical_analyzer/unterminated_string.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Lox
  class LexicalAnalyzer
    class UnterminatedString < StandardError
      def initialize(lexeme)
        super("Unterminated string: #{lexeme}")
      end
    end
  end
end