class YARP::RipperCompat::SexpBuilderPP

This class mirrors the ::Ripper::SexpBuilderPP subclass of ::Ripper that returns the same values as ::Ripper::SexpBuilder except with a couple of niceties that flatten linked lists into arrays.

Private Instance Methods

_dispatch_event_new() click to toggle source
# File yarp/ripper_compat.rb, line 38
def _dispatch_event_new
  []
end
_dispatch_event_push(list, item) click to toggle source
# File yarp/ripper_compat.rb, line 42
def _dispatch_event_push(list, item)
  list << item
  list
end