samedi 14 mai 2016

`__LINE__` for method line

def line

  puts __LINE_ # [sic]

end

line()

prints "2". But it should print "5" because the method is called there. Why can I change that problem? It should spend the row was written in __LINE_ [sic].





Aucun commentaire:

Enregistrer un commentaire