I hereby claim:
- I am prudhvi on github.
- I am prudhvi (https://keybase.io/prudhvi) on keybase.
- I have a public key whose fingerprint is E5B0 0291 6C5F CEEA D24E CAB6 8350 BA92 A4E1 86A7
To claim this, I am signing this object:
8.times do | |
puts 'Hai' | |
end |
emailregex = /\A\w+.\w+@\w+.com\Z/ | |
phoneregex = /\A\d{3}-?\d{3}-?\d{4}\Z/ | |
puts "Enter email id" | |
email = gets | |
if emailregex.match(email) | |
puts "Email pattern matched" | |
else | |
puts "Email format is wrong" | |
end |
puts "Please enter the string" | |
input = gets.chop | |
currentChar = input[0] | |
compressedString = "" | |
currentCharCount = 1 | |
wordSize = input.size | |
count = 1 | |
input[1..wordSize].each_char do |c| |
I hereby claim:
To claim this, I am signing this object:
begin | |
require 'bundler/inline' | |
rescue LoadError => e | |
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler' | |
raise e | |
end | |
gemfile(true) do | |
source 'https://rubygems.org' | |
gem 'rails', github: 'rails/rails', :branch => '4-2-stable' |