Sha256: bb4f7eaa52784d835b533517252917c8fd10837561e21cab082d007a879c6eb2

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

# encoding: utf-8

module YARD  #:nodoc: all
  # Test if JRuby head is being used
  JRUBY_19MODE = RUBY_VERSION >= '1.9' && RUBY_ENGINE == 'jruby'

  # Fix jruby-head to use the ruby 1.8 parser until their ripper port is working
  Parser::SourceParser.parser_type = :ruby18 if JRUBY_19MODE
end # module YARD

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yardstick-0.9.9 lib/yardstick/yard_ext.rb
yardstick-0.9.8 lib/yardstick/yard_ext.rb