Featured
-
Installing RVM and Creation of Gemsets Part 2
In the last tutorial we learnt how to install RVM.
by dinesh.singh -
Installing RVM and Creating of Gemsets Part 1
Installing RVM and creating Gemsets can be difficu
by dinesh.singh -
Use pik in Windows
Managing multiple versions of Ruby on Windows can
by anirudh.rautela -
Using Bundler in Rails 2.3.x app
Managing Gems in Rails can be infuriating at times
by anirudh.rautela
Tags
Find out days count in a year
Description:
A variation of determining leap years, assuming only integers are used and years can be negative and positive.
Write a function which will return the days in the year and the year entered in a string. For example, 2000, entered...
Compare similar words in two strings
DESCRIPTION:
Two Samurai Generals are discussing dinner plans after a battle, but they don’t appear to reach a consensus.
The discussion gets heated and you cannot risk favoring either of them as this might damage your political...
Count the occurence of an interger in a string
Description:
Given a string of integers, count how many times that integer repeats itself, then return a string showing the count and the integer.
Example: countMe('1123') (count_me in Ruby)
Here 1 comes twice so <count>...