Just needs to be squashed. —
Sent from Mailbox for iPhone

On Sun, Mar 16, 2014 at 12:08 PM, Yuji Nakayama <notifications@github.com>
wrote:

>> @@ -90,20 +84,37 @@ def preferred_delimiters(type)
>>            cop_config['PreferredDelimiters'][type].split(//)
>>          end
>>  
>> -        def contents(node)
>> -          if node.children.empty?
>> -            ''
>> -          elsif node.children.first.is_a?(Parser::AST::Node)
>> -            Parser::Source::Range.new(
>> -              node.loc.expression.source_buffer,
>> -              node.children.first.loc.expression.begin_pos,
>> -              node.children.last.loc.expression.end_pos
>> -            ).source
>> +        def contents(node) # rubocop:disable MethodLength
>> +          first_child, *middle, last_child = *node
>> +          last_child ||= first_child
> I'm OK with that for now. :ok_hand:
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/bbatsov/rubocop/pull/880/files#r10638814