In Ruby, a Range is a class which represents a set of values defined by a starting and an ending value.
In Ruby, a Range is a class which represents a set of values defined by a starting and an ending value.
Ruby provides similar means of delimiting back-quoted strings, regular expressions, symbols and arrays of either single-quoted or double-quoted strings.
This test suite contains two tests: test1 (which contains three assertions) and test2 (which contains one).
You need to take care when entering line breaks into the inter-active Ruby console (IRB) since the position of line breaks may alter the meaning of your Ruby code.