QUICK! What’s the output of the following code?
CODE:
#!/usr/bin/env rubyclass LineDemo
def self.process(text, lineno)
# do important processing on text
puts lineno
end
end
LineDemo.process <
Here, also, is some important text to process.
TEXT
# All done!The answer is obvious. Of course, it prints 13.