+ 1
Ruby __FILE__ issue
Ruby challenges have such statement which we need to approve or disapprove: "__FILE__ represents name of the current source file". Lately, the "correct" answer seems to go random between true and false. I tested it in a playground and it clearly outputs the working directory. Am i right? Fix this plz. https://code.sololearn.com/cElwI9fgMFc0/?ref=app
3 odpowiedzi
+ 7
If the correct answer is switching between true or false. There is possibility that there two similar quizzes. if you feel the quiz is wrong after verifying for correct answer. you can report the quiz while going back to your completed challenge(atleast on the android app)
+ 5
You must read the question. In Ruby's challenges there are two similar questions:
__FILE__ represents the name of the current file: true
__FILE__ represents the path of the current file: false
+ 1
Thanks