According to Ruby Programming experts, The syntax of Ruby is somewhat similar to Perl and Python because the class and method definitions are signaled by keywords. The variables of Ruby and Perl vary because the variables are not prefixed with a sigil. It changes the semantics of scope when the variable is used. The obvious difference of C and Perl is the keywords. It is usually used to define logical code blocks without the braces. The Line breaks are significant and are taken as the end of statement. It is equivalent to semicolon (;). In contrast to Python, the indication is of no significance.