Sha256: 6bf55d0598c252c28f94bb3ad6c975c2911630ba86f6d6cc87c38cc15d4bb456

Contents?: true

Size: 211 Bytes

Versions: 2

Compression:

Stored size: 211 Bytes

Contents

# frozen_string_literal: true
require 'ripper'

module Faml
  class RubySyntaxChecker < Ripper
    class Error < StandardError
    end

    private

    def on_parse_error(*)
      raise Error
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faml-0.8.1 lib/faml/ruby_syntax_checker.rb
faml-0.8.0 lib/faml/ruby_syntax_checker.rb