Sha256: 36abb13d575462f5e6891a4d4b26e79c18added2cf10f0ff92d79a3075370b91

Contents?: true

Size: 211 Bytes

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
faml-0.7.3 lib/faml/ruby_syntax_checker.rb
faml-0.7.2 lib/faml/ruby_syntax_checker.rb
faml-0.7.1 lib/faml/ruby_syntax_checker.rb
faml-0.7.0 lib/faml/ruby_syntax_checker.rb
faml-0.6.5 lib/faml/ruby_syntax_checker.rb
faml-0.6.4 lib/faml/ruby_syntax_checker.rb
faml-0.6.3 lib/faml/ruby_syntax_checker.rb
faml-0.6.2 lib/faml/ruby_syntax_checker.rb
faml-0.6.1 lib/faml/ruby_syntax_checker.rb