Sha256: cc58b635f5be59020442a5d7f0e406005cf83d05c09c4feff2a1815944a701cc
Contents?: true
Size: 334 Bytes
Versions: 1
Compression:
Stored size: 334 Bytes
Contents
module RipperRubyParser module SexpHandlers module Arrays def process_array exp _, elems = exp.shift 2 s(:array, *handle_list_with_optional_splat(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.1 | lib/ripper_ruby_parser/sexp_handlers/arrays.rb |