Hello everyone, I am new here and new for ruby language as well.
I have a problem to assign a string when it's too long and is in a special format. Let me go into the question.
When we write documentation, there is # or there are below commands we can use:
=begin
(documentation)
=end
So I want to ask if there is any similar commands to enclose a string like that and the string layout will still be maintained.
Just like:
command_begin
(string)
command_end
If there is, what are the command_begin and command_end?
Thank you very much.
I have a problem to assign a string when it's too long and is in a special format. Let me go into the question.
When we write documentation, there is # or there are below commands we can use:
=begin
(documentation)
=end
So I want to ask if there is any similar commands to enclose a string like that and the string layout will still be maintained.
Just like:
command_begin
(string)
command_end
If there is, what are the command_begin and command_end?
Thank you very much.