Making my coding harder than it has to be… Ruby

前端 未结 0 1597
走了就别回头了
走了就别回头了 2021-01-30 04:05
def generateHashtag(str)
  str = str.gsub(/\\s+/, " ")
  if str.empty?
    return false
  else 
      if str.length >= 140 || str == " "
        a         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题