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.11.0 lib/fasterer/parser.rb
fasterer-0.10.1 lib/fasterer/parser.rb
fasterer-0.10.0 lib/fasterer/parser.rb
fasterer-0.9.0 lib/fasterer/parser.rb
fasterer-0.8.3 lib/fasterer/parser.rb
fasterer-0.8.2 lib/fasterer/parser.rb
fasterer-0.8.1 lib/fasterer/parser.rb
fasterer-0.8.0 lib/fasterer/parser.rb
fasterer-0.7.1 lib/fasterer/parser.rb
fasterer-0.7.0 lib/fasterer/parser.rb
fasterer-0.6.0 lib/fasterer/parser.rb
fasterer-0.5.1 lib/fasterer/parser.rb
fasterer-0.5.0 lib/fasterer/parser.rb
fasterer-0.4.2 lib/fasterer/parser.rb
fasterer-0.4.1 lib/fasterer/parser.rb
fasterer-0.4.0 lib/fasterer/parser.rb
fasterer-0.3.2 lib/fasterer/parser.rb
fasterer-0.3.1 lib/fasterer/parser.rb
fasterer-0.3.0 lib/fasterer/parser.rb
fasterer-0.2.1 lib/fasterer/parser.rb