module RuboCop::Cop::SurroundingSpace
def index_of_last_token(node)
def index_of_last_token(node) e = node.loc.expression.end (0...e.column).to_a.reverse.find do |c| ix = token_table[[e.line, c]] return ix if ix end end
def index_of_last_token(node) e = node.loc.expression.end (0...e.column).to_a.reverse.find do |c| ix = token_table[[e.line, c]] return ix if ix end end