     scopes = scopeDescriptor.getScopesArray()
     return hasScope(scopes, 'meta.function.method')
 
-  isCompletingConstantOrClass: ({scopeDescriptor}) ->
+  isCompletingConstant: ({scopeDescriptor}) ->
     scopes = scopeDescriptor.getScopesArray()
     return hasScope(scopes, 'support.class.ruby') || hasScope(scopes, 'variable.other.constant.ruby')
 

    if isCompletingInheritedClass = @isCompletingInheritedClass({scopeDescriptor})
      completions = completions.concat(@getClassCompletions({prefix}))

    else if isCompletingConstantOrClass = @isCompletingConstantOrClass({scopeDescriptor})
      completions = completions.concat(@getClassCompletions({prefix}))
      completions = completions.concat(@getConstantCompletions({prefix}))

    else if isCompletingMethod = @isCompletingMethod({scopeDescriptor})
        completions = completions.concat(@getMethodCompletions({scopeDescriptor, prefix}))

    else
      # Add methods, functions, and classes
      completions = completions.concat(@getMethodCompletions({scopeDescriptor, prefix}))
      completions = completions.concat(@getFunctionCompletions({scopeDescriptor, prefix}))
      # completions = completions.concat(@getClassCompletions({scopeDescriptor, prefix}))

    completions.sort()
    # @getConstructCompletions(request)

    scopes = scopeDescriptor.getScopesArray()
    return hasScope(scopes, 'entity.other.inherited-class.ruby')

  # getCompletions: ({prefix}) ->
  #   completions = []
  #   for constant, type of @constants when stringContains(prefix, constant)
  #     completions.push(@buildConstantCompletion(prefix, constant))
  #   completions

  getMethodCompletions: ({scopeDescriptor, prefix}) ->
    completions = []
