class Haml::StringSplitter

def strip_quotes!(tokens)

def strip_quotes!(tokens)
  _, type, beg_str = tokens.shift
  if type != :on_tstring_beg
    raise(Haml::InternalError, "Expected :on_tstring_beg but got: #{type}")
  end
  _, type, end_str = tokens.pop
  if type != :on_tstring_end
    raise(Haml::InternalError, "Expected :on_tstring_end but got: #{type}")
  end
  [beg_str, end_str]
end