0

In C-family languages, we can add a comment inside a line like:

public void my_function(/*int a,*/ int b)

I can't find a way to do so in Ruby and Python, only at the end of a line:

def my_function(a#, b)
General Failure
  • 2,421
  • 4
  • 23
  • 49

1 Answers1

2

There is no way to do that in Ruby.

sawa
  • 165,429
  • 45
  • 277
  • 381