Sha256: b865e597c61590ff009990f16a99a81c2e8dc2205b9bd8274ee8e4df4dc5f8ba
Contents?: true
Size: 324 Bytes
Versions: 1
Compression:
Stored size: 324 Bytes
Contents
module RipperRubyParser module SexpHandlers module Arrays def process_array exp _, elems = exp.shift 2 s(:array, *handle_array_elements(elems)) end def process_aref exp _, item, idx = exp.shift 3 s(:call, process(item), :[], process(idx)) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ripper_ruby_parser-0.0.5 | lib/ripper_ruby_parser/sexp_handlers/arrays.rb |