menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Learning R...
source image

Medium

1d

read

917

img
dot

Learning Ruby: A Beginner’s Guide to the Basics

  • Ruby is the language behind the popular web framework Ruby on Rails, suitable for general scripting and automating tasks.
  • Variables in Ruby are written in snake case and can reference different objects over their lifetime.
  • Constants in Ruby are assigned once, start with capital letters, and are normally written in block capitals with words separated by underscores.
  • Methods in Ruby can be defined with positional arguments, keyword arguments, or no arguments at all, and return values based on the last evaluated statement or explicitly via the return keyword.

Read Full Article

like

17 Likes

For uninterrupted reading, download the app