Sha256: a7e599133efd004f3e699a449372b024c684bf2a6466ec1cd5f83321f26b052d

Contents?: true

Size: 186 Bytes

Versions: 21

Compression:

Stored size: 186 Bytes

Contents

require 'ruby_parser'

module Fasterer
  class Parser
    PARSER_CLASS = RubyParser

    def self.parse(ruby_code)
      PARSER_CLASS.for_current_ruby.parse(ruby_code)
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
fasterer-0.2.0 lib/fasterer/parser.rb