Sha256: 7404739e597e40fe18492048c0812a8a1ac34f6adfdf0ee8c393c355e1152019

Contents?: true

Size: 249 Bytes

Versions: 9

Compression:

Stored size: 249 Bytes

Contents

require 'sexp_processor'

module RipperRubyParser
  # Extensions to Sexp
  module SexpExt
    def fix_empty_type
      unless sexp_type.is_a? Symbol
        unshift :__empty
      end
    end
  end
end

Sexp.send :include, RipperRubyParser::SexpExt

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ripper_ruby_parser-1.0.0 lib/ripper_ruby_parser/sexp_ext.rb
ripper_ruby_parser-0.0.8 lib/ripper_ruby_parser/sexp_ext.rb
ripper_ruby_parser-0.0.7 lib/ripper_ruby_parser/sexp_ext.rb
ripper_ruby_parser-0.0.6 lib/ripper_ruby_parser/sexp_ext.rb
ripper_ruby_parser-0.0.5 lib/ripper_ruby_parser/sexp_ext.rb
ripper_ruby_parser-0.0.4 lib/ripper_ruby_parser/sexp_ext.rb
ripper_ruby_parser-0.0.3 lib/ripper_ruby_parser/sexp_ext.rb
ripper_ruby_parser-0.0.2 lib/ripper_ruby_parser/sexp_ext.rb
ripper_ruby_parser-0.0.1 lib/ripper_ruby_parser/sexp_ext.rb