# File lib/ruby_parser_extras.rb, line 262 def block_append(head, tail) return head if tail.nil? return tail if head.nil? case head[0] when :lit, :str then return tail end line = [head.line, tail.line].compact.min head = remove_begin(head) head = s(:block, head) unless head.node_type == :block head.line = line head << tail end