Tag Archives: ruby

(Ruby) Calculate Standard Deviation in Ruby

This below code is for calculate standard deviation in Ruby on Rails. Here the data set is given in a array. To know more about standard deviation calculations @ [Standard Deviation Calculator](http://ncalculators.com/statistics/mean-standard-deviation-calculator.htm “Standard Deviation Calculator”)

Posted in Ruby | Also tagged , , , | 1 Comment

Classes in Ruby

Ruby is an object-oriented programming language. This example demonstrates a superclass for representing a car. Two subclasses are used for representing a hero car and a villain car, they inherit from the superclass.

Posted in Ruby | Also tagged , , , , , , | Leave a comment