<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-9121522755764120913</atom:id><lastBuildDate>Thu, 29 Aug 2024 22:24:17 +0000</lastBuildDate><category>Ruby</category><category>RubyConf</category><category>Digital Marketing</category><category>Google Analytics</category><category>Mobile Services</category><category>Online Business</category><category>Online Marketing</category><category>Online Mobile sales and services</category><category>Ruby on Rails</category><category>SEM</category><category>SEO</category><title>Oi Amigo</title><description></description><link>http://insanqalam.blogspot.com/</link><managingEditor>noreply@blogger.com (Shaikshavali)</managingEditor><generator>Blogger</generator><openSearch:totalResults>30</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle/><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-500882484454746426</guid><pubDate>Mon, 03 Jul 2017 13:43:00 +0000</pubDate><atom:updated>2017-07-03T08:35:43.854-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Digital Marketing</category><category domain="http://www.blogger.com/atom/ns#">Google Analytics</category><category domain="http://www.blogger.com/atom/ns#">Online Business</category><category domain="http://www.blogger.com/atom/ns#">Online Marketing</category><category domain="http://www.blogger.com/atom/ns#">SEM</category><category domain="http://www.blogger.com/atom/ns#">SEO</category><title>Hip Hip Hurray !!! I got Google Digital Unlocked Certificate</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_zoZzTtsta7LRkTvcNIEDckCfx6OI_d_ge5-FcL9AuuO2Y-jYqcQnzHpkH_1u3StBUDAlSj0wJld9LYpE2fE96n_YAwt8AoomqW3c-0OaguK50MGwDhMO6NgQdM5gqf3CT9WxQHefEInT/s1600/UnlockDigitalMarketingCertificate.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" data-original-height="536" data-original-width="755" height="227" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_zoZzTtsta7LRkTvcNIEDckCfx6OI_d_ge5-FcL9AuuO2Y-jYqcQnzHpkH_1u3StBUDAlSj0wJld9LYpE2fE96n_YAwt8AoomqW3c-0OaguK50MGwDhMO6NgQdM5gqf3CT9WxQHefEInT/s320/UnlockDigitalMarketingCertificate.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Hi Amigos,&lt;br /&gt;
&lt;br /&gt;
Today i would like to share something which i achieved today. There is one Post i saw few days back in Facebook. &amp;nbsp;What that post contains is "Digital unlocked", running by Google people to give awareness of Digital marketing. Seems to be something interesting right.&lt;br /&gt;
&lt;br /&gt;
I also felt something new to learn in this program, I went through all topics. Once you finish the topics you will get certified. Sounds good right?&lt;br /&gt;
&lt;br /&gt;
They will explain each and every topic with video and after completion of video they will ask topic related question, Once that is done you go for next session in that topic. After finishing all sessions in that topic there will be one assignment on that topic. if you completed the assignment you will go to next level and also you will earn one Badge.&lt;br /&gt;
&lt;br /&gt;
Through this "Digital Unlocked" programe I learnt new ways of digital marketing and few technical terms which are used in SEO, SEM. They are covering all most all topics in digital marketing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Your first steps in online success&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Your online goals&lt;/li&gt;
&lt;li&gt;Building your online presence&lt;/li&gt;
&lt;li&gt;Marketing your online presence&lt;/li&gt;
&lt;li&gt;Analyse and adapt&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Build your web presence&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Choosing your online presence&lt;/li&gt;
&lt;li&gt;How websites work&lt;/li&gt;
&lt;li&gt;Key website ingredients&lt;/li&gt;
&lt;li&gt;Websites and your business goals&lt;/li&gt;
&lt;li&gt;Make your website easy to use&lt;/li&gt;
&lt;li&gt;Website design do’s and don’ts&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Get discovered with search&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Intro to search engine optimisation (SEO)&lt;/li&gt;
&lt;li&gt;The importance of an SEO plan&lt;/li&gt;
&lt;li&gt;The SEO process&lt;/li&gt;
&lt;li&gt;How to choose keywords&lt;/li&gt;
&lt;li&gt;Setting realistic SEO goals&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Be noticed with search ads&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Introduction to search engine marketing (SEM)&lt;/li&gt;
&lt;li&gt;The SEM auction&lt;/li&gt;
&lt;li&gt;What makes a good keyword&lt;/li&gt;
&lt;li&gt;Make your ads stand out&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Get started with analytics&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;What is web analytics?&lt;/li&gt;
&lt;li&gt;Making web analytics work for you&lt;/li&gt;
&lt;li&gt;Tracking specific goals with web analytics&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Get noticed with social media&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Social media basics&lt;/li&gt;
&lt;li&gt;The right social media sites for you&lt;/li&gt;
&lt;li&gt;Setting your goals for social media&lt;/li&gt;
&lt;li&gt;Getting on social media&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Discover the possibilities of mobile&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;The evolution of mobile devices&lt;/li&gt;
&lt;li&gt;Understanding mobile web and mobile apps&lt;/li&gt;
&lt;li&gt;Understanding mobile apps&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Build your online shop&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Using e-commerce to sell&lt;/li&gt;
&lt;li&gt;Taking payments and managing orders&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;The online opportunity&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;The world goes digital&lt;/li&gt;
&lt;li&gt;Your digital opportunity&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Connect through email&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Email marketing basics&lt;/li&gt;
&lt;li&gt;Your email marketing options&lt;/li&gt;
&lt;li&gt;Crafting great marketing emails&lt;/li&gt;
&lt;li&gt;Managing successful email campaigns&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Get started with search&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Search engine basics&lt;/li&gt;
&lt;li&gt;How search engines work&lt;/li&gt;
&lt;li&gt;How search engines see the web&lt;/li&gt;
&lt;li&gt;Organic search explained&lt;/li&gt;
&lt;li&gt;Paid search explained&lt;/li&gt;
&lt;li&gt;Google search console&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Make search work for you&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Making your web pages search friendly&lt;/li&gt;
&lt;li&gt;How other websites can work for you&lt;/li&gt;
&lt;li&gt;Cross borders with SEO&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Improve your search campaigns&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Achieve relevance with good structure&lt;/li&gt;
&lt;li&gt;Get the most from your keywords&lt;/li&gt;
&lt;li&gt;Fine-tune with keyword match types&lt;/li&gt;
&lt;li&gt;How to know what’s working and what isn’t&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Find success with analytics&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Web analytics and organic search&lt;/li&gt;
&lt;li&gt;Tools to measure SEM&lt;/li&gt;
&lt;li&gt;Breaking down your data for insights&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Get noticed locally&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Marketing to the locals&lt;/li&gt;
&lt;li&gt;The power of local directories&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Help people nearby find you online&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Using digital to advertise locally&lt;/li&gt;
&lt;li&gt;Reaching locals on their mobiles&lt;/li&gt;
&lt;li&gt;SEO for local businesses&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Deep dive into social media&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Your long-term social media plan&lt;/li&gt;
&lt;li&gt;Advertising on social media&lt;/li&gt;
&lt;li&gt;Measuring success in social media&lt;/li&gt;
&lt;li&gt;Avoiding social media pitfalls&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Make mobile work for you&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Introduction to advertising on mobile&lt;/li&gt;
&lt;li&gt;Search campaigns for mobile&lt;/li&gt;
&lt;li&gt;Display campaigns for mobile&lt;/li&gt;
&lt;li&gt;Social media campaigns for mobile&lt;/li&gt;
&lt;li&gt;Video for mobile&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Advertise on other websites&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;What is display advertising?&lt;/li&gt;
&lt;li&gt;Search advertising vs. display advertising&lt;/li&gt;
&lt;li&gt;The ins and outs of display advertising&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Deep dive into display advertising&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Making display ads meet your goals&lt;/li&gt;
&lt;li&gt;Understanding ad networks&lt;/li&gt;
&lt;li&gt;How re-targeting works&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Expand internationally&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Introduction to international marketing and export&lt;/li&gt;
&lt;li&gt;Validating your new market&lt;/li&gt;
&lt;li&gt;Being understood abroad&lt;/li&gt;
&lt;li&gt;Advertise across borders&lt;/li&gt;
&lt;li&gt;The support systems you will need&lt;/li&gt;
&lt;li&gt;Helping customers abroad buy your products&lt;/li&gt;
&lt;li&gt;Delivering to customers across the globe&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Make the most of video&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;The rise of online video&lt;/li&gt;
&lt;li&gt;How video fits into your online strategy&lt;/li&gt;
&lt;li&gt;Creating video content within your budget&lt;/li&gt;
&lt;li&gt;Sharing and promoting your videos&lt;/li&gt;
&lt;li&gt;Advertising on video sharing sites&lt;/li&gt;
&lt;li&gt;Measuring video performance&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Sell more online&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Creating a smooth e-commerce experience&lt;/li&gt;
&lt;li&gt;Product promotion and merchandising&lt;/li&gt;
&lt;li&gt;Re-targeting for e-commerce&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
All topics are very interesting. They are giving live examples and explaining well. Hope you will learn new things today.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhguNR284GNZfm1dXH4jY4hMjGjofHHuogSRcF69ljxhyLU1L6r0lDWHrUBYizdfnwiNdaFXj559exttNOSNVdlaw5CHW22ZYgT000hCiadK-EedOwI4dU-VZWsRoR9AeDk5Vn8TLeT_IQw/s1600/UnlockDigitalMarketingCertificate.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" data-original-height="536" data-original-width="755" height="227" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhguNR284GNZfm1dXH4jY4hMjGjofHHuogSRcF69ljxhyLU1L6r0lDWHrUBYizdfnwiNdaFXj559exttNOSNVdlaw5CHW22ZYgT000hCiadK-EedOwI4dU-VZWsRoR9AeDk5Vn8TLeT_IQw/s320/UnlockDigitalMarketingCertificate.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Please share and follow me to get new updates.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Thanks&lt;/div&gt;
&lt;div&gt;
***********&lt;/div&gt;
&lt;div&gt;
Shaik (Developer)&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2017/07/hip-hip-hurray-i-got-google-digital.html</link><author>noreply@blogger.com (Shaikshavali)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_zoZzTtsta7LRkTvcNIEDckCfx6OI_d_ge5-FcL9AuuO2Y-jYqcQnzHpkH_1u3StBUDAlSj0wJld9LYpE2fE96n_YAwt8AoomqW3c-0OaguK50MGwDhMO6NgQdM5gqf3CT9WxQHefEInT/s72-c/UnlockDigitalMarketingCertificate.png" width="72"/><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-5374704547404106645</guid><pubDate>Thu, 29 Jun 2017 19:00:00 +0000</pubDate><atom:updated>2017-06-29T12:00:59.276-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Mobile Services</category><category domain="http://www.blogger.com/atom/ns#">Online Mobile sales and services</category><category domain="http://www.blogger.com/atom/ns#">Ruby</category><category domain="http://www.blogger.com/atom/ns#">Ruby on Rails</category><title>Academic Projects using Ruby On Rails</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hi Guys,&lt;br /&gt;
&lt;br /&gt;
Today i want to share something new with the readers. I got an idea in my mind, i am already sharing my knowledge through this blog but guys are feeling bore. So i decided that i can do something real time work sharing with readers. If you are interested to get personal online training and one real time project, just you can leave comment in this post and add your details like Name, email.&lt;br /&gt;
&lt;br /&gt;
I will read each and every comment and give you schedule classes for that person. If you want meet me you can catch me in:&lt;br /&gt;
Skype: tajshavali&lt;br /&gt;
&lt;br /&gt;
In this post i will explain one of my training project. This project involve several concepts registering users with roles like admin, user, Email confirmation with registration and using third party tool to send SMS. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Project Title:&lt;/b&gt;&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;b&gt;Online Mobile Sales &amp;amp; Services&lt;/b&gt;&lt;/blockquote&gt;
&lt;b&gt;Description:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;b&gt;Providing the details of the mobile and their prices. You can find the mobile dealers near by you location. Filter the mobiles by your location and Who and all the dealers for selected mobiles.&lt;/b&gt;&lt;/blockquote&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;b&gt;If you need any service or new mobile purchase from the dealers just you can your contact details to the dealer, later dealer will contact you. This is can make sense right.&amp;nbsp;&lt;/b&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;b&gt;Software Requirements:&lt;/b&gt;&lt;br /&gt;
&lt;span id="docs-internal-guid-0d936395-f532-20d0-93ae-737fcda304f3"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div dir="ltr" style="margin-left: 0pt;"&gt;
&lt;table style="border-collapse: collapse; border: none; width: 468pt;"&gt;&lt;colgroup&gt;&lt;col width="*"&gt;&lt;/col&gt;&lt;col width="*"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style="height: 0pt;"&gt;&lt;td style="border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;"&gt;&lt;div dir="ltr" style="line-height: 1.2; margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Technologies &lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style="border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;"&gt;&lt;div dir="ltr" style="line-height: 1.2; margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Ruby, Ruby on Rails(Framework for web application and backend)&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0pt;"&gt;&lt;td style="border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;"&gt;&lt;div dir="ltr" style="line-height: 1.2; margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Database&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style="border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;"&gt;&lt;div dir="ltr" style="line-height: 1.2; margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;MySQL&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0pt;"&gt;&lt;td style="border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;"&gt;&lt;div dir="ltr" style="line-height: 1.2; margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;SMS sending tool&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style="border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;"&gt;&lt;div dir="ltr" style="line-height: 1.2; margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;twilio&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="height: 0pt;"&gt;&lt;td style="border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;"&gt;&lt;div dir="ltr" style="line-height: 1.2; margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Web technology&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style="border-bottom: solid #000000 1pt; border-left: solid #000000 1pt; border-right: solid #000000 1pt; border-top: solid #000000 1pt; padding: 5pt 5pt 5pt 5pt; vertical-align: top;"&gt;&lt;div dir="ltr" style="line-height: 1.2; margin-bottom: 0pt; margin-top: 0pt;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Bootstrap, HTML, CSS, jQuery, Javascript.&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Screenshots:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqAO4kclaAZhoSrPs5yKKDQE2e3l8vplT6083fAvbSdRHbwqBUAL16aSzjxoeSBfA4IsPOTB0WbQFDpcrV3p2aMGq3rY2SNEtxAmMqfsbMpLkAYtlOnapAayy3LtBmNXADI0pFRU1xAata/s1600/home.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" data-original-height="653" data-original-width="1366" height="190" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqAO4kclaAZhoSrPs5yKKDQE2e3l8vplT6083fAvbSdRHbwqBUAL16aSzjxoeSBfA4IsPOTB0WbQFDpcrV3p2aMGq3rY2SNEtxAmMqfsbMpLkAYtlOnapAayy3LtBmNXADI0pFRU1xAata/s400/home.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Dashboard&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH645seDemV9xhP-SPMD21ANLW-fP_wNDs3gWcynd3Sir-rwWOLmf28g7RvqIb5ltXGL12kAxxhTxh-eCIWA0wiBAlaMnnO11HvbNr4_CZAsbTCJL3u4HxHb9DVSrXuUTrQVF6DfwkePDJ/s1600/mobile.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" data-original-height="901" data-original-width="1366" height="263" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH645seDemV9xhP-SPMD21ANLW-fP_wNDs3gWcynd3Sir-rwWOLmf28g7RvqIb5ltXGL12kAxxhTxh-eCIWA0wiBAlaMnnO11HvbNr4_CZAsbTCJL3u4HxHb9DVSrXuUTrQVF6DfwkePDJ/s400/mobile.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Mobile View&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwiPavvSe0JObid7euWegEwuOg52-lKUir8sa2SuHxPJNzDatWbAuTY-WctYoC0RgmsusO_k4QhnpzAxwYJxLuZ2ItVJkv9_GG8efn2lAep27uHMiwYvFEkBWLFXSNShqBxhMENT257xgf/s1600/about.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" data-original-height="604" data-original-width="1366" height="176" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwiPavvSe0JObid7euWegEwuOg52-lKUir8sa2SuHxPJNzDatWbAuTY-WctYoC0RgmsusO_k4QhnpzAxwYJxLuZ2ItVJkv9_GG8efn2lAep27uHMiwYvFEkBWLFXSNShqBxhMENT257xgf/s400/about.png" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;About&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6u0gEXXK0ZhkTRzR2P3Fz3UDDgB16j5npUnlyiynVSxLlMy2Syrn8HsW5WS8_2SQVWHZY-fMQAeyWpcDF1lFK0XCWzBaDsEFvf5DvypWITw2CF98BuMqJhyGpM9cbAT7qJj2UjgdPjmS7/s1600/admin.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" data-original-height="1600" data-original-width="1248" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6u0gEXXK0ZhkTRzR2P3Fz3UDDgB16j5npUnlyiynVSxLlMy2Syrn8HsW5WS8_2SQVWHZY-fMQAeyWpcDF1lFK0XCWzBaDsEFvf5DvypWITw2CF98BuMqJhyGpM9cbAT7qJj2UjgdPjmS7/s400/admin.png" width="311" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Admin Page&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Hope you guys like my concept, Thanks i will come up new concept/project.&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2017/06/academic-projects-using-ruby-on-rails.html</link><author>noreply@blogger.com (Shaikshavali)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqAO4kclaAZhoSrPs5yKKDQE2e3l8vplT6083fAvbSdRHbwqBUAL16aSzjxoeSBfA4IsPOTB0WbQFDpcrV3p2aMGq3rY2SNEtxAmMqfsbMpLkAYtlOnapAayy3LtBmNXADI0pFRU1xAata/s72-c/home.png" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-2148739169976655190</guid><pubDate>Thu, 20 Apr 2017 13:13:00 +0000</pubDate><atom:updated>2017-06-29T11:01:34.823-07:00</atom:updated><title>Independent Contractor</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
I am experienced software engineer with a technology called Ruby on Rails. I have done several projects/Web Applications using ROR. Initially when i was started learning ruby, i felt difficulty. Once we started learning Ruby problem solving then we will get more interest to do something new.&lt;br /&gt;
&lt;br /&gt;
My first project is like Educational and social networking. In this project i got more knowledge in real time how we should implement the client requirement. Now i got 5 years of experience in Ruby on Rails. In this period of time i did several projects using ROR. Few of them are only API writing. Most of them are Web applications.&lt;br /&gt;
&lt;br /&gt;
Now &amp;nbsp;i am planing to work as independent. So i am searching freelancing jobs, i gone through several freelancing websites. So i would like to get freelancing jobs through this.&lt;br /&gt;
&lt;br /&gt;
Hope i will get it. Thanks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2017/04/independent-contractor.html</link><author>noreply@blogger.com (Shaikshavali)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-1116308432486493432</guid><pubDate>Wed, 22 Jun 2016 13:49:00 +0000</pubDate><atom:updated>2016-06-22T06:50:13.183-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Ruby Load Path and Auto Loading in Rails -  Other small concepts</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2AcIWO2RLrfAIXZ38IMzZZgw_g-iKZ-bjVeLiY3JNtZCNdDvv3bOkxbVNcCImPa_1li5ydTWwgDXYA7AELxT03HxdZrC3ymjSa2lWB9ELwqDAeZ4-BlRCtUHx38_CCVADUvhfo_B9Oh0/s1600/Session-23.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2AcIWO2RLrfAIXZ38IMzZZgw_g-iKZ-bjVeLiY3JNtZCNdDvv3bOkxbVNcCImPa_1li5ydTWwgDXYA7AELxT03HxdZrC3ymjSa2lWB9ELwqDAeZ4-BlRCtUHx38_CCVADUvhfo_B9Oh0/s320/Session-23.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hi Readers,&lt;br /&gt;
&lt;br /&gt;
This is the last post for Ruby beginners. Today we are going to learn some small concepts and Ruby load paths and auto loading in Rails &lt;br /&gt;
&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
define_method:&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
class Array&amp;nbsp; &lt;br /&gt;
&amp;nbsp; {:second =&amp;gt; 1, :third =&amp;gt; 2}.each do |method,element|&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; define_method(method) do&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self[element]&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
end&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
array = %w(A B C)&amp;nbsp; &lt;br /&gt;
puts array.first # =&amp;gt; A&amp;nbsp; &lt;br /&gt;
puts array.second # =&amp;gt; B&amp;nbsp; &lt;br /&gt;
puts array.third # =&amp;gt; C&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;/div&gt;
&lt;h3 style="text-align: left;"&gt;
Object Space:&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ObjectSpace.each_object(Numeric) { |n| puts n }&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;
Class Reflection:&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Using Class#superclass&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; klass = Fixnum&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print klass&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; klass = klass.superclass&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print " &amp;lt; " if klass&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end while klass&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # =&amp;gt; Fixnum &amp;lt; Integer &amp;lt; Numeric &amp;lt; Object&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Using Class#ancestors&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Fixnum.ancestors&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # =&amp;gt; Fixnum, Integer, Precision, Numeric, Comparable, Object, Kernel&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Inspecting methods and variables&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Fixnum.public_instance_methods(false)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Fixnum.class_variables&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Fixnum.constants&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.instance_variables &lt;/div&gt;
&lt;h3 style="text-align: left;"&gt;
System Hooks: Class#inherited&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class A&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @@subclasses = {}&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Invoked when a new class is created that extends this class&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def self.inherited(child)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "inherited"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @@subclasses[self] ||= []&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @@subclasses[self] &amp;lt;&amp;lt; child&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def self.subclasses&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @@subclasses[self]&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class B &amp;lt; A&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; puts A.subclasses&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
Ruby Load Path and Auto Loading in Rails:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&lt;/div&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;The Ruby load path is stored in $: and is used when you require code&lt;/li&gt;
&lt;li&gt;Models, views, controllers, and helpers under the app dir are loaded automatically&lt;/li&gt;
&lt;li&gt;Classes under lib are also loaded automatically&lt;/li&gt;
&lt;li&gt;You can add load paths in config/environment.rb&lt;/li&gt;
&lt;li&gt;Class and module names must correspond to the file path where they are defined for auto loading to work &lt;/li&gt;
&lt;/ul&gt;
&lt;span class="keyword"&gt;&lt;/span&gt;

&lt;span class="comment"&gt;&lt;/span&gt;



&lt;span class="keyword"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/ruby-load-path-and-auto-loading-in.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2AcIWO2RLrfAIXZ38IMzZZgw_g-iKZ-bjVeLiY3JNtZCNdDvv3bOkxbVNcCImPa_1li5ydTWwgDXYA7AELxT03HxdZrC3ymjSa2lWB9ELwqDAeZ4-BlRCtUHx38_CCVADUvhfo_B9Oh0/s72-c/Session-23.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560001, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-7820855328067826400</guid><pubDate>Tue, 14 Jun 2016 12:08:00 +0000</pubDate><atom:updated>2016-06-14T05:10:02.739-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>const_missing – for Auto Loading Classes, eval and binding</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-easBft3lk2TC4zT_-E4LWRLuKXnorcLoZJazIS5reS0qM05QBSFYCA0U1ayvAQ4ZLXAUgCm2hld1wG-GQaphv1Ecwy2XOZa2L7v5PC6URRt_ep-RXRCCxYxHSN3co8U0owkGRVM_d2g/s1600/Session-22.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-easBft3lk2TC4zT_-E4LWRLuKXnorcLoZJazIS5reS0qM05QBSFYCA0U1ayvAQ4ZLXAUgCm2hld1wG-GQaphv1Ecwy2XOZa2L7v5PC6URRt_ep-RXRCCxYxHSN3co8U0owkGRVM_d2g/s320/Session-22.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
Hi Readers,&lt;br /&gt;
&lt;br /&gt;
Today we are going to learn that if any class is not defined, even though you are trying to create object for that non existing class, then ruby raises an exception called "constant_missing".&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style="text-align: left;"&gt;
const_missing – for Auto Loading Classes:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; def Object.const_missing(name)&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @looked_for ||= {}&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str_name = name.to_s&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise "Class not found: #{name}" if @looked_for[str_name]&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @looked_for[str_name] = 1&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file = str_name.downcase&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; require file&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; klass = const_get(name)&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return klass if klass&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise "Class not found: #{name}"&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style="text-align: left;"&gt;
eval and binding:&lt;/h3&gt;
def evaluate_code(code, binding)&amp;nbsp; &lt;br /&gt;
&amp;nbsp; a = 2&amp;nbsp; &lt;br /&gt;
&amp;nbsp; eval code, binding&amp;nbsp; &lt;br /&gt;
end&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
a = 1&amp;nbsp; &lt;br /&gt;
evaluate_code("puts a", binding) # =&amp;gt; 1&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
instance_eval:&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; require 'person_class' &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="font-weight: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; andreas = Person.new("Andreas") &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="font-weight: normal;"&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts andreas.instance_eval { @name } # =&amp;gt; Andreas&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style="text-align: left;"&gt;
class_eval and module_eval:&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class Person&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def self.add_method(method)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class_eval %Q{&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def #{method}&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "method #{method} invoked"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; add_method(:say_hi)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Person.new.say_hi&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Thank for reading it, hope you will practice and get some idea.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span class="keyword"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style="text-align: left;"&gt;
&lt;/h3&gt;
&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/constmissing-for-auto-loading-classes.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-easBft3lk2TC4zT_-E4LWRLuKXnorcLoZJazIS5reS0qM05QBSFYCA0U1ayvAQ4ZLXAUgCm2hld1wG-GQaphv1Ecwy2XOZa2L7v5PC6URRt_ep-RXRCCxYxHSN3co8U0owkGRVM_d2g/s72-c/Session-22.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-6232714799590802920</guid><pubDate>Mon, 13 Jun 2016 11:45:00 +0000</pubDate><atom:updated>2016-06-13T04:46:42.229-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>method_missing: A VCR and Using the VCR</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9C1WiBUOPVRkvIKE3jt7O3I4pWxrZMCFUi5VVZKdqOLpVDxb1HRujI0tf_YmDq83GyHujbm3zV16kvTMFBqc_91TLee2pi7UgdH89lFHoKWeDhGQNpzIBbhL6n_sYMZoJPj8vxTq8UcI/s1600/Session-21.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9C1WiBUOPVRkvIKE3jt7O3I4pWxrZMCFUi5VVZKdqOLpVDxb1HRujI0tf_YmDq83GyHujbm3zV16kvTMFBqc_91TLee2pi7UgdH89lFHoKWeDhGQNpzIBbhL6n_sYMZoJPj8vxTq8UcI/s320/Session-21.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hi Readers,&lt;br /&gt;
&lt;br /&gt;
Today we are going to take an example class VCR and verify the method_missing concept.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style="text-align: left;"&gt;
method_missing: A VCR&lt;/h2&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class VCR&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def initialize&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @messages = []&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def method_missing(method, *args, &amp;amp;block)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @messages &amp;lt;&amp;lt; [method, args, block]&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def play_back_to(obj)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @messages.each do |method, args, block|&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.send(method, *args, &amp;amp;block)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
Using the VCR:&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; require 'vcr'&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; vcr = VCR.new&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; vcr.gsub! /Ruby/, "Crazy"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; vcr.upcase!&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; object = "I Go Ruby"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; vcr.play_back_to(object)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; puts object&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Just practice this example , i will get back to you with new concept.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Thanks for reading, subscribe this blog to get more updates.&lt;/div&gt;
&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/methodmissing-vcr-and-using-vcr.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9C1WiBUOPVRkvIKE3jt7O3I4pWxrZMCFUi5VVZKdqOLpVDxb1HRujI0tf_YmDq83GyHujbm3zV16kvTMFBqc_91TLee2pi7UgdH89lFHoKWeDhGQNpzIBbhL6n_sYMZoJPj8vxTq8UcI/s72-c/Session-21.jpg" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-1509323030504718018</guid><pubDate>Fri, 10 Jun 2016 09:38:00 +0000</pubDate><atom:updated>2016-06-10T02:39:49.137-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Open Class Definitions and Method Aliasing</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLp6zPJKaL3uwSEyhqWG6fQ-VQy1mu6nITlGqeEJLXVVHov_eXsisTRGBaL5SWbKD3StoG9hT2f6E8RIiUDKs8WWZKKTel68kI2YyQ41U9lMd4PdfkJr3xlQhJ0f8INXk0BM-YhBfnvu0/s1600/Session-20.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLp6zPJKaL3uwSEyhqWG6fQ-VQy1mu6nITlGqeEJLXVVHov_eXsisTRGBaL5SWbKD3StoG9hT2f6E8RIiUDKs8WWZKKTel68kI2YyQ41U9lMd4PdfkJr3xlQhJ0f8INXk0BM-YhBfnvu0/s320/Session-20.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Hi readers,&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
In this post we are going to learn how to open existing class defination and alias the method which is exist already in the class.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
Open Class Definitions and Method Aliasing:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class Peter&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def say_hi&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "Hi"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class Peter&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alias_method :say_hi_orig, :say_hi&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def say_hi&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "Before say hi"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; say_hi_orig&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "After say hi"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Peter.new.say_hi&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
Core Classes are Also Open&lt;span class="keyword"&gt;:&lt;/span&gt;&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&lt;span class="keyword"&gt;&amp;nbsp;class Integer &lt;br /&gt;&amp;nbsp; def even? &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (self % 2) == 0 &lt;br /&gt;&amp;nbsp; end &lt;br /&gt;end &lt;br /&gt;&amp;nbsp; &lt;br /&gt;p (1..10).select { |n| n.even? } # =&amp;gt; [2, 4, 6, 8, 10]&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span class="keyword"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span class="keyword"&gt;Hope you understand the concept and you will practice this.&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span class="keyword"&gt;Thanks for reading this, if like share this.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/open-class-definitions-and-method.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLp6zPJKaL3uwSEyhqWG6fQ-VQy1mu6nITlGqeEJLXVVHov_eXsisTRGBaL5SWbKD3StoG9hT2f6E8RIiUDKs8WWZKKTel68kI2YyQ41U9lMd4PdfkJr3xlQhJ0f8INXk0BM-YhBfnvu0/s72-c/Session-20.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-3919633637323182292</guid><pubDate>Thu, 09 Jun 2016 03:22:00 +0000</pubDate><atom:updated>2016-06-08T20:23:12.484-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>RDoc and Option Parsing - Ruby on the Command Line</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnV85vUhyphenhyphenp41yngc_vYTbo-LlP9OZktKAE6qRgbRSJOxusTFrnIfXoY1uIYbTQcTxS6R5tZlLaNxQtEYk0aHe8ciJguop6IKe1W4TgFDMLiYucN0mFHQXqE4ebXKUWvQzHdX3YD3Fglv4/s1600/Session-19.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnV85vUhyphenhyphenp41yngc_vYTbo-LlP9OZktKAE6qRgbRSJOxusTFrnIfXoY1uIYbTQcTxS6R5tZlLaNxQtEYk0aHe8ciJguop6IKe1W4TgFDMLiYucN0mFHQXqE4ebXKUWvQzHdX3YD3Fglv4/s320/Session-19.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
Hi Readers,&lt;br /&gt;
&lt;br /&gt;
Today we are going to learn RDoc and Option Parsing, means ruby documentation and their options. In this we are also using ruby in command line.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style="text-align: left;"&gt;
RDoc and Option Parsing:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
#!/usr/bin/env ruby&amp;nbsp; &lt;br /&gt;
# == Synopsis&amp;nbsp; &lt;br /&gt;
# This script takes photographs living locally on my desktop or laptop&amp;nbsp; &lt;br /&gt;
# and publishes them to my homepage at http://marklunds.com.&amp;nbsp; &lt;br /&gt;
#&amp;nbsp; &lt;br /&gt;
# == Usage&amp;nbsp; &lt;br /&gt;
#&amp;nbsp; &lt;br /&gt;
# Copy config file publish-photos.yml.template to publish-photos.yml and edit as appropriate.&amp;nbsp; &lt;br /&gt;
# ruby publish-photos [ -h | --help ] &amp;lt;photo_dir1&amp;gt; ... &amp;lt;photo_dirN&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
# Load the Rails environment&amp;nbsp; &lt;br /&gt;
require File.dirname(__FILE__) + '/../config/environment'&amp;nbsp; &lt;br /&gt;
require 'optparse'&amp;nbsp; &lt;br /&gt;
require 'rdoc/usage'&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
opts = OptionParser.new&amp;nbsp; &lt;br /&gt;
opts.on("-h", "--help") { RDoc::usage('usage') }&amp;nbsp; &lt;br /&gt;
opts.on("-q", "--quiet") { Log::Logger.verbose = false }&amp;nbsp; &lt;br /&gt;
opts.parse!(ARGV) rescue RDoc::usage('usage')&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
Ruby on the Command Line:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
# Query and replace&amp;nbsp; &lt;br /&gt;
ruby -pi.bak -e "gsub(/Perl/, 'Ruby')" *.txt&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
# Grep&amp;nbsp; &lt;br /&gt;
ruby -n -e "print if /Ruby/" *.txt&amp;nbsp; &lt;br /&gt;
ruby -e "puts ARGF.grep(/Ruby/)" *.txt&lt;br /&gt;
&lt;/div&gt;
&lt;span class="comment"&gt;&lt;/span&gt;

&lt;span class="comment"&gt;&lt;/span&gt;&lt;br /&gt;
Hope you will get this concepts.&lt;br /&gt;
Share this page. Place comment on it.&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/rdoc-and-option-parsing-ruby-on-command.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnV85vUhyphenhyphenp41yngc_vYTbo-LlP9OZktKAE6qRgbRSJOxusTFrnIfXoY1uIYbTQcTxS6R5tZlLaNxQtEYk0aHe8ciJguop6IKe1W4TgFDMLiYucN0mFHQXqE4ebXKUWvQzHdX3YD3Fglv4/s72-c/Session-19.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-4483880951129371458</guid><pubDate>Wed, 08 Jun 2016 04:59:00 +0000</pubDate><atom:updated>2016-06-07T22:02:07.540-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Dup method, Regular expressions and invoking external programs</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifzfHAUiIbCR4z2SsStHqygpCdPWEc88yPXOvah_tUql5F_7yMFXHT0b_bkhn7TN7LYCQNh7-TRXBPnrVE243sKLpHkeII156kEILMVAz9V8oYSA-3Xr-dI2myIZBPvGjVMekvdo2LJ4A/s1600/Session-18.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifzfHAUiIbCR4z2SsStHqygpCdPWEc88yPXOvah_tUql5F_7yMFXHT0b_bkhn7TN7LYCQNh7-TRXBPnrVE243sKLpHkeII156kEILMVAz9V8oYSA-3Xr-dI2myIZBPvGjVMekvdo2LJ4A/s320/Session-18.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
The dup Method and Method Arguments:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Methods that change their receiver end with an exclamation mark by convention.&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # If you need to invoke an exclamation mark method on a method argument and you want&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # to avoid the object from being changed, you can duplicate the object first&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # with the Object#dup method. Core classes such as String, Hash, and Array all have&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # meaningful implementations of the dup method. Here is an example from Rails:&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class ActiveRecord::Base&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def attributes=(new_attributes)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return if new_attributes.nil?&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attributes = new_attributes.dup # duplicate argument to avoid changing it&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attributes.stringify_keys! # modify the duplicated object&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # ... method continues here&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
Regular Expressions:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "Ruby" =~ /^(ruby|python)$/i&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "Go\nRuby" =~ /Go\s+(\w+)/m; $1 == "Ruby"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "I Go Ruby" =~ /go/i; $&amp;amp; == "Go"; $` == "I "; $' == " Ruby" &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pattern = "."; Regexp.new(Regexp.escape(pattern)) &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "I Go Ruby"[/(go)/i, 1] == "Go" &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "I Go Ruby".gsub(%r{Ruby}, '\0 or I go bananas')&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "I Go Ruby".gsub(/ruby/i) { |lang| lang.upcase }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; line = "I Go Ruby"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; m, who, verb, what = *line.match(/^(\w+)\s+(\w+)\s+(\w+)$/)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # \s, \d, [0-9], \w - space, digit, and word character classes&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # ?, *, +, {m, n}, {m,}, {m} - repetition&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
Invoking External Programs:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; system("ls -l")&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # $? is a predefined variable with the exit status&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; puts $?.exitstatus if !$?.success?&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # The back ticks "`" return the output of the external program&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; standard_out = `ls -l`&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Hope you understand the concepts.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
if like&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp; share&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
else&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp; comment&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
end&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Thank You&lt;/div&gt;
&lt;span class="string"&gt;&lt;/span&gt;

&lt;span class="comment"&gt;&lt;/span&gt;&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/dup-method-regular-expressions-and.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifzfHAUiIbCR4z2SsStHqygpCdPWEc88yPXOvah_tUql5F_7yMFXHT0b_bkhn7TN7LYCQNh7-TRXBPnrVE243sKLpHkeII156kEILMVAz9V8oYSA-3Xr-dI2myIZBPvGjVMekvdo2LJ4A/s72-c/Session-18.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-4076986445929510750</guid><pubDate>Tue, 07 Jun 2016 06:24:00 +0000</pubDate><atom:updated>2016-06-06T23:31:29.746-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Case statements, Blocks and String operations</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggcHBo-6LApNqByBo7lmPki7R2yiqZx0FC0pkniM_2d7bjuxLoAq9I2g0PzZAq6aYNe9uA03p1bOubB8JJEDm36mZ9NHXocdIj5dJituKvMdtdcDd4HTNAsMqQ8wRCF9c7KCBNoyTfRF0/s1600/Session-17.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggcHBo-6LApNqByBo7lmPki7R2yiqZx0FC0pkniM_2d7bjuxLoAq9I2g0PzZAq6aYNe9uA03p1bOubB8JJEDm36mZ9NHXocdIj5dJituKvMdtdcDd4HTNAsMqQ8wRCF9c7KCBNoyTfRF0/s320/Session-17.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
Hi Readers,&lt;br /&gt;
&lt;br /&gt;
Today we are going to learn how to write case statements in Ruby. Know about ruby blocks and some string operations with examples.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style="text-align: left;"&gt;
Case:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; x = 11&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; case x&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; when 0&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; when 1, 2..5&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "Second branch"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; when 6..10&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "Third branch"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; when *[11, 12]&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "Fourth branch"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; when String: puts "Fifth branch"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; when /\d+\.\d+/&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "Sixth branch"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; when x.to_s.downcase == "peter"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "Seventh branch"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; else&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "Eight branch"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;h3 style="text-align: left;"&gt;
Blocks - Usage examples:&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Iteration&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [1, 2, 3].each { |item| puts item }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Resource Management&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; File.open("file.txt", "w") do |file|&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file.puts "foobar"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Callbacks&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; widget.on_button_press do&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "Got button press"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Convention: one-line blocks use {...} and multiline&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # blocks use do...end&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style="text-align: left;"&gt;
Common String Operations:&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "&amp;nbsp; ".empty? == true&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; IO.read(__FILE__).each_with_index { |line, i| puts "#{i}: #{line}" }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "abc".scan(/./).each { |char| char.upcase }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "we split words".split.join(", ")&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "&amp;nbsp;&amp;nbsp;&amp;nbsp; strip space&amp;nbsp;&amp;nbsp; ".strip&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; sprintf("value of %s is %.2f", "PI", 3.1416)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "I Go Ruby"[2, 2] == "I Go Ruby"[2..3] # =&amp;gt; "Go"&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Hope you will understand this concepts. Next we will meet with different concept.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Please practice these to get hands on experience.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Share if you like else comment.&lt;/div&gt;
&lt;span class="string"&gt;&lt;/span&gt;

&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/case-statements-blocks-and-string.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggcHBo-6LApNqByBo7lmPki7R2yiqZx0FC0pkniM_2d7bjuxLoAq9I2g0PzZAq6aYNe9uA03p1bOubB8JJEDm36mZ9NHXocdIj5dJituKvMdtdcDd4HTNAsMqQ8wRCF9c7KCBNoyTfRF0/s72-c/Session-17.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-5631325032900404113</guid><pubDate>Mon, 06 Jun 2016 11:24:00 +0000</pubDate><atom:updated>2016-06-06T05:03:35.425-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Ruby Conditional statements and Iterators</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU7J0FYihLN4uNwX6A5LUul6sdjNLm7bI3OMQv3SaJqS1vOwJ7oaOBwbU-T8edJ74u0Dn-M-Za5zNUUVNmrzKnBTvJkLCiwuEJQpyDmCxwdtpmO7-Bu354OM6zIlVaa_uZxIG5W1GmOLQ/s1600/Session-16.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU7J0FYihLN4uNwX6A5LUul6sdjNLm7bI3OMQv3SaJqS1vOwJ7oaOBwbU-T8edJ74u0Dn-M-Za5zNUUVNmrzKnBTvJkLCiwuEJQpyDmCxwdtpmO7-Bu354OM6zIlVaa_uZxIG5W1GmOLQ/s320/Session-16.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
Hi Readers,&lt;br /&gt;
&lt;br /&gt;
In this we are going to learn conditions and Iterators in Ruby. Please follow the below concepts.&lt;br /&gt;
&lt;h2 style="text-align: left;"&gt;
if, unless, and the ? Operator&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
message = if count &amp;gt; 10&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Try again"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; elsif tries == 3&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "You lose"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Enter command"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
raise "Unauthorized" if !current_user.admin?&amp;nbsp; &lt;br /&gt;
raise "Unauthorized" unless current_user.admin?&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
status = input &amp;gt; 10 ? "Number too big" : "ok"&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
Iterators: while, until, for, break, and next&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
while count &amp;lt; 100&amp;nbsp; &lt;br /&gt;
&amp;nbsp; puts count&amp;nbsp; &lt;br /&gt;
&amp;nbsp; count += 1&amp;nbsp; &lt;br /&gt;
end&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
payment.make_request while (payment.failure? and payment.tries &amp;lt; 3)&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
for user in @users&amp;nbsp; &lt;br /&gt;
&amp;nbsp; next if user.admin?&amp;nbsp; &lt;br /&gt;
&amp;nbsp; if user.paid?&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; break&amp;nbsp; &lt;br /&gt;
&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
end&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
until count &amp;gt; 5&amp;nbsp; &lt;br /&gt;
&amp;nbsp; puts count&amp;nbsp; &lt;br /&gt;
&amp;nbsp; count += 1&amp;nbsp; &lt;br /&gt;
end&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Practice with different conditions,&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Please share this to help others. &lt;/div&gt;
&lt;span class="keyword"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2 style="text-align: left;"&gt;
&amp;nbsp;&lt;/h2&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/ruby-conditional-statements-and.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU7J0FYihLN4uNwX6A5LUul6sdjNLm7bI3OMQv3SaJqS1vOwJ7oaOBwbU-T8edJ74u0Dn-M-Za5zNUUVNmrzKnBTvJkLCiwuEJQpyDmCxwdtpmO7-Bu354OM6zIlVaa_uZxIG5W1GmOLQ/s72-c/Session-16.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-6988187758604970166</guid><pubDate>Mon, 06 Jun 2016 08:45:00 +0000</pubDate><atom:updated>2016-06-06T01:46:49.508-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Ruby Range class, Structs and Exceptions</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-hTf8g0k4VIegBE1dJdN0TRQt1N1oREDjDyX07ieSUmLVwdma5l9EU6vtEfsjPhKyabawWHt1wKaHWwxAm4MGFhNNG06PXBW0xl_ydcuKuHFdb9J147QUeEyyNZjtRaUS-_y3GkR-e1Y/s1600/Session-15.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-hTf8g0k4VIegBE1dJdN0TRQt1N1oREDjDyX07ieSUmLVwdma5l9EU6vtEfsjPhKyabawWHt1wKaHWwxAm4MGFhNNG06PXBW0xl_ydcuKuHFdb9J147QUeEyyNZjtRaUS-_y3GkR-e1Y/s320/Session-15.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
Hi readers,&lt;br /&gt;
&lt;br /&gt;
In this post we are going to know about Range class, Structs in ruby and exceptions.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style="text-align: left;"&gt;
Range Class:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Two dots is inclusive, i.e. 1 to 5&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; (1..5).each { |x| puts x**2 }&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Three dots excludes the last item, i.e. 1 to 4&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; (1...5).each { |x| puts x }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; (1..3).to_a == [1, 2, 3]&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style="text-align: left;"&gt;
Structs:&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Rating = Struct.new(:name, :ratings)&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; rating = Rating.new("Rails", [ 10, 10, 9.5, 10 ])&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; puts rating.name&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; puts rating.ratings&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style="text-align: left;"&gt;
Exceptions:&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; begin&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise(ArgumentError, "No file_name provided") if !file_name&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content = load_blog_data(file_name)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise "Content is nil" if !content&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; rescue BlogDataNotFound&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STDERR.puts "File #{file_name} not found"&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; rescue BlogDataConnectError&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @connect_tries ||= 1&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @connect_tries += 1&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; retry if @connect_tries &amp;lt; 3&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STDERR.puts "Invalid blog data in #{file_name}"&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; rescue Exception =&amp;gt; exc&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STDERR.puts "Error loading #{file_name}: #{exc.message}"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Just can you practice above examples, then you will understand the concept, otherwise place comment on it.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Thank you share with your friends.&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/ruby-range-class-structs-and-exceptions.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-hTf8g0k4VIegBE1dJdN0TRQt1N1oREDjDyX07ieSUmLVwdma5l9EU6vtEfsjPhKyabawWHt1wKaHWwxAm4MGFhNNG06PXBW0xl_ydcuKuHFdb9J147QUeEyyNZjtRaUS-_y3GkR-e1Y/s72-c/Session-15.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-3575207866027448511</guid><pubDate>Mon, 06 Jun 2016 07:49:00 +0000</pubDate><atom:updated>2016-06-06T00:50:55.886-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Ruby Symbols And More about Methods</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpu8f7l-9Qoa9jz0pBO9j3K_hLrgW6VzfP4u4s1SNY-Jsb7o0TpJ4QHgPA2KS2mex9mqPV3i4hf-rh6h_WB63eDfjvJF7udns29i5RURZCVJObRc74xe8EykvA8-_Kgom6hxXz2N8T16Q/s1600/Session-14.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpu8f7l-9Qoa9jz0pBO9j3K_hLrgW6VzfP4u4s1SNY-Jsb7o0TpJ4QHgPA2KS2mex9mqPV3i4hf-rh6h_WB63eDfjvJF7udns29i5RURZCVJObRc74xe8EykvA8-_Kgom6hxXz2N8T16Q/s320/Session-14.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
Ruby Symbols:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
# Symbols start with a colon&amp;nbsp; &lt;br /&gt;
:action.class == Symbol&amp;nbsp; &lt;br /&gt;
:action.to_s == "action"&amp;nbsp; &lt;br /&gt;
:action == "action".to_sym&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
# There is only one instance of every symbol&amp;nbsp; &lt;br /&gt;
:action.equal?(:action) # =&amp;gt; true&amp;nbsp; &lt;br /&gt;
'action'.equal?('action') # =&amp;gt; false&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
# Symbols are typically used as keys in hashes&amp;nbsp; &lt;br /&gt;
my_hash = {:controller =&amp;gt; "home", :action =&amp;gt; "index"}&amp;nbsp; &lt;/div&gt;
&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
More about Methods:&lt;/h3&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;Arbitrary number of arguments: def my_methods(*args)&lt;/li&gt;
&lt;li&gt;Converting Array to arguments: my_method([a, b]*)&lt;/li&gt;
&lt;li&gt;Dynamic method invocation: object.send(:method_name)&lt;/li&gt;
&lt;li&gt;Duck typing: object.respond_to?(:method_name)&lt;/li&gt;
&lt;li&gt;If the last argument is a Hash, the braces can be omitted: link_to("Home", :controller =&amp;gt; "home")&lt;/li&gt;
&lt;/ul&gt;
&amp;nbsp;Hi readers,&lt;br /&gt;
&lt;br /&gt;
hope you learn today post.&lt;br /&gt;
&lt;br /&gt;
Leave comment or share.&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/ruby-symbols-and-more-about-methods.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpu8f7l-9Qoa9jz0pBO9j3K_hLrgW6VzfP4u4s1SNY-Jsb7o0TpJ4QHgPA2KS2mex9mqPV3i4hf-rh6h_WB63eDfjvJF7udns29i5RURZCVJObRc74xe8EykvA8-_Kgom6hxXz2N8T16Q/s72-c/Session-14.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-8231910757656335419</guid><pubDate>Fri, 03 Jun 2016 12:39:00 +0000</pubDate><atom:updated>2016-06-03T05:39:42.311-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Arithmetic and Conversions, String, Array and Hash</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOvxquy8mf68aSrazOCE44plvih6499fceiBJNORjjohcHNerrIGYK8h8c3mFOTWQE0cx1AZvzoHNDy3LV66P8tZyRewe4dU5drlYPQ5JMUeURrE1_MysyNOg3Y_89DStRYdDKNEYuJJM/s1600/Session-13.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOvxquy8mf68aSrazOCE44plvih6499fceiBJNORjjohcHNerrIGYK8h8c3mFOTWQE0cx1AZvzoHNDy3LV66P8tZyRewe4dU5drlYPQ5JMUeURrE1_MysyNOg3Y_89DStRYdDKNEYuJJM/s320/Session-13.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
Arithmetic and Conversions:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.class == Fixnum&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Fixnum.superclass == Integer&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Integer.superclass == Numeric&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.0.class == Float&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Float.superclass == Numeric&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/3 == 0&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/3.0 # =&amp;gt; 0.6666667&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 + 3.0 == 5.0&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "2".to_i + "3.0".to_f == 5.0&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 10000000000.class == Bignum&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Bignum.superclass == Integer&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 + "3" # =&amp;gt; TypeError: String can't be coerced into Fixnum&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
String Class:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "ruby".upcase + " " + "rails".capitalize # =&amp;gt; RUBY Rails&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "time is: #{Time.now}\n second line"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 'no interpolation "here" #{Time.now}' # =&amp;gt; no interpolation "here" #{Time.now}&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; "I" &amp;lt;&amp;lt; "Go" &amp;lt;&amp;lt; "Ruby" # =&amp;gt; IGoRuby&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; %Q{"C" and "Java"} # =&amp;gt; "C" and "Java"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; %q{single 'quoted'} # =&amp;gt; single 'quoted'&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt;-END&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A here&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document at #{Time.now}&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; END&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;br /&gt;
&lt;h2 style="text-align: left;"&gt;
Array Class:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; a = ["Ruby", 99, 3.14]&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; a[1] == 99&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; a &amp;lt;&amp;lt; "Rails"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ['C', 'Java', 'Ruby'] == %w{C Java Ruby}&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [1, 2, 3].map { |x| x**2 }.join(", ")&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [1, 2, 3].select { |x| x % 2 == 0 }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [1, 2, 3].reject { |x| x &amp;lt; 3 }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [1, 2, 3].inject { |sum, i| sum + i }&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [1, [2, 3]].flatten! # =&amp;gt; [1, 2, 3]&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; %w{C Java Ruby}.include?("C") # =&amp;gt; true&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fruits = ['apple', 'banana']&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; fruits += ['apple'] unless fruits.include?('apple')&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [1, 3, 5] &amp;amp; [1, 2, 3] # (intersection) =&amp;gt; [1, 3]&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [1, 3, 5] | [2, 4, 6] # (union) =&amp;gt; [1, 3, 5, 2, 4, 6]&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; [1, 2, 3] - [2, 3] # (difference) =&amp;gt; [1]&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
Hash Class:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
h = {:lang =&amp;gt; 'Ruby', :framework =&amp;gt; 'Rails'}&amp;nbsp; &lt;br /&gt;
h[:lang] == 'Ruby'&amp;nbsp; &lt;br /&gt;
h[:perl] == nil&amp;nbsp; &lt;br /&gt;
puts h.inspect&amp;nbsp; &lt;br /&gt;
env = {"USER" =&amp;gt; "peter", "SHELL" =&amp;gt; "/bin/bash"}&amp;nbsp; &lt;br /&gt;
env.each {|k, v| puts "#{k}=#{v}" }&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Practice this i will get back to you with new concept.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Subscribe this blog for new updates. &lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/arithmetic-and-conversions-string-array.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOvxquy8mf68aSrazOCE44plvih6499fceiBJNORjjohcHNerrIGYK8h8c3mFOTWQE0cx1AZvzoHNDy3LV66P8tZyRewe4dU5drlYPQ5JMUeURrE1_MysyNOg3Y_89DStRYdDKNEYuJJM/s72-c/Session-13.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-1874709664722289213</guid><pubDate>Fri, 03 Jun 2016 07:10:00 +0000</pubDate><atom:updated>2016-06-03T00:10:11.375-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Ruby Object, Constants and Introspection</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQFNsMrnZxpfNYL57oLyMLDupkvDpSPOmHPCAzwrnEcv5IH7LvTzzABYnWt0NxMWaIhjLBSev6gctGDwSgDEJ1X3S_-8adG0_F6i2d0oqjn6Tdf-pIQ2E4kGf-YEkbcgfBuG2wLztJZiY/s1600/Session-12.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQFNsMrnZxpfNYL57oLyMLDupkvDpSPOmHPCAzwrnEcv5IH7LvTzzABYnWt0NxMWaIhjLBSev6gctGDwSgDEJ1X3S_-8adG0_F6i2d0oqjn6Tdf-pIQ2E4kGf-YEkbcgfBuG2wLztJZiY/s320/Session-12.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
Everything is an Object:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;2 + 2 is equivalent to 2+(2) and 2.send(:+, 2)&lt;/li&gt;
&lt;li&gt;2.hours.ago&lt;/li&gt;
&lt;li&gt;2.class # =&amp;gt; Fixnum&lt;/li&gt;
&lt;li&gt;2.class.instance_methods – Object.instance_methods&lt;/li&gt;
&lt;li&gt;“andreas”.capitalize&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style="text-align: left;"&gt;
Constants:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Constants defined in a class/module are available within that class/module and outside the class with the scope operator ::&lt;/li&gt;
&lt;li&gt;Constants defined outside any class/module can be accessed anywhere&lt;/li&gt;
&lt;li&gt;Constants cannot be defined in methods&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style="text-align: left;"&gt;
Introspection:&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
andreas = Person.new("Andreas")&amp;nbsp; &lt;br /&gt;
andreas.inspect # =&amp;gt; #&amp;lt;Person:0x1cf34 @name="Andreas"&amp;gt;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
andreas.class # =&amp;gt; Person&amp;nbsp; &lt;br /&gt;
andreas.class.superclass # =&amp;gt; Object&amp;nbsp; &lt;br /&gt;
andreas.class.superclass.superclass # =&amp;gt; nil&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
andreas.class.ancestors.join(", ") # Person, Object, Kernel&amp;nbsp; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
Person.instance_methods(false) # =&amp;gt; say_hi&amp;nbsp; &lt;br /&gt;
Kernel.methods.sort.join("\n") # =&amp;gt; All methods in Kernel module&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Hope you learn something to day.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Follow this blog By subscribing.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Thanks&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/ruby-object-constants-and-introspection.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQFNsMrnZxpfNYL57oLyMLDupkvDpSPOmHPCAzwrnEcv5IH7LvTzzABYnWt0NxMWaIhjLBSev6gctGDwSgDEJ1X3S_-8adG0_F6i2d0oqjn6Tdf-pIQ2E4kGf-YEkbcgfBuG2wLztJZiY/s72-c/Session-12.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-2171114326710421118</guid><pubDate>Thu, 02 Jun 2016 09:25:00 +0000</pubDate><atom:updated>2016-06-02T02:25:02.869-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Ruby Modules and Modules vs Classes</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8__3bhOkHIsLa74wGFsykRCNfHxQxHemq2dKcSvq-vSZ4FwIBXw4rDR_hmhFwzVxMtC78sCjNULZtcgcZCEfOARsABMQWDECZE4b2jjKRTCVOQaa6R3FRM4XFQGaqDOWEy4KkKXeqleo/s1600/Session-11.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8__3bhOkHIsLa74wGFsykRCNfHxQxHemq2dKcSvq-vSZ4FwIBXw4rDR_hmhFwzVxMtC78sCjNULZtcgcZCEfOARsABMQWDECZE4b2jjKRTCVOQaa6R3FRM4XFQGaqDOWEy4KkKXeqleo/s320/Session-11.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
Hi Readers,&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
Modules:&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; require 'person_class'&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; module HasAge&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attr_accessor :age&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class Person&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; include HasAge&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; peter = Person.new("Peter"); peter.age = 33; puts peter.age&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; module MyApp&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class Person&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attr_accessor :hometown&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def initialize(hometown)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.hometown = hometown&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; peter = MyApp::Person.new("Stockholm"); puts peter.hometown&amp;nbsp; &lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style="text-align: left;"&gt;
Modules vs Classes:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Modules model characteristics or properties of entities or things. 
Modules can’t be instantiated. Module names tend to be adjectives 
(Comparable, Enumerable etc.). A class can mix in several modules.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;Classes model entities or things. Class names tend to be nouns. A class can only have one super class (Enumeration, Item etc.).&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Hope you understand.&lt;br /&gt;
&lt;br /&gt;
Thanks &lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
&amp;nbsp;
&lt;/h3&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/ruby-modules-and-modules-vs-classes.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8__3bhOkHIsLa74wGFsykRCNfHxQxHemq2dKcSvq-vSZ4FwIBXw4rDR_hmhFwzVxMtC78sCjNULZtcgcZCEfOARsABMQWDECZE4b2jjKRTCVOQaa6R3FRM4XFQGaqDOWEy4KkKXeqleo/s72-c/Session-11.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-1208506739547065554</guid><pubDate>Thu, 02 Jun 2016 06:59:00 +0000</pubDate><atom:updated>2016-06-02T00:10:02.042-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Ruby - Assignment concept</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtyb1wEfUAza6YFyiIoD_mXOsxT-QmK88NMutS2dqXyx8SV55rTCzOI1G7t0eMLPc_ztGw0CZyRwfG-LKkndd73gk7am8C6MKi1SYrkVZ-AG-ZpZ60BQd5qLiirga-TrwK91fJhrD0z-M/s1600/Session.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtyb1wEfUAza6YFyiIoD_mXOsxT-QmK88NMutS2dqXyx8SV55rTCzOI1G7t0eMLPc_ztGw0CZyRwfG-LKkndd73gk7am8C6MKi1SYrkVZ-AG-ZpZ60BQd5qLiirga-TrwK91fJhrD0z-M/s320/Session.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hi Readers,&lt;br /&gt;
&lt;br /&gt;
Today we are going learn assignment of a variable value in ruby.&lt;br /&gt;
&lt;h2 style="text-align: left;"&gt;
Assignment:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;a, b = b, a # swapping values&lt;/li&gt;
&lt;li&gt;a = 1; b = 1&lt;/li&gt;
&lt;li&gt;a = b = 1&lt;/li&gt;
&lt;li&gt;a += 1 # a = a + 1&lt;/li&gt;
&lt;li&gt;a, b = [1, 2]&lt;/li&gt;
&lt;li&gt;a = b || c&lt;/li&gt;
&lt;li&gt;a ||= b&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style="text-align: left;"&gt;
Idiom: Assignment with Boolean Expression&lt;/h2&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; comment = Object.new&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; def comment.user&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Object.new&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Overly verbose:&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; user_id = nil&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if comment&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if comment.user&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; user_id = comment.user.object_id&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Idiomatic:&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; user_id = comment &amp;amp;&amp;amp; comment.user &amp;amp;&amp;amp; comment.user.object_id&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Practice the above mentioned statements in irb.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Hope you like this.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Thank you &lt;/div&gt;
&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/ruby-assignment-concept.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtyb1wEfUAza6YFyiIoD_mXOsxT-QmK88NMutS2dqXyx8SV55rTCzOI1G7t0eMLPc_ztGw0CZyRwfG-LKkndd73gk7am8C6MKi1SYrkVZ-AG-ZpZ60BQd5qLiirga-TrwK91fJhrD0z-M/s72-c/Session.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-6188518463400388990</guid><pubDate>Wed, 01 Jun 2016 13:22:00 +0000</pubDate><atom:updated>2017-04-20T04:40:14.046-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Naming Conventions and Boolean Expressions in Ruby</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: left;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKRLmwVhMhTfg4c_MAV185f0vNkjD7OVKqG0B0oIn_styrVexJt31FmtdDvU3OeeLhypDUw69l25v_2pksx-TcyOVAYVEPOt8HH94TnIPdFcvM4PKwjkPScpkIwM4P-ry7JTGlx_jQCMC6/s1600/wordcloud.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKRLmwVhMhTfg4c_MAV185f0vNkjD7OVKqG0B0oIn_styrVexJt31FmtdDvU3OeeLhypDUw69l25v_2pksx-TcyOVAYVEPOt8HH94TnIPdFcvM4PKwjkPScpkIwM4P-ry7JTGlx_jQCMC6/s320/wordcloud.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hi&amp;nbsp; Readers,&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Remember
 these things while coding in Ruby. Naming convention is important for 
good programmer, once you wrote the code it should be in systematic way.&lt;/div&gt;
&lt;h2 style="text-align: left;"&gt;
Naming Conventions:&lt;/h2&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;MyClass&lt;/li&gt;
&lt;li&gt;method_name, destructive_method!, question_method?, setter_method=&lt;/li&gt;
&lt;li&gt;MY_CONSTANT = 3.14&lt;/li&gt;
&lt;li&gt;local_variable = 3.14&lt;/li&gt;
&lt;li&gt;@instance_variable&lt;/li&gt;
&lt;li&gt;@@class_variable&lt;/li&gt;
&lt;li&gt;$global_variable&lt;/li&gt;
&lt;/ul&gt;
Just check your previous code in ruby is written in this naming 
convention format or not. Practice the naming convention coding to 
better and clean understanding to others also. &lt;br /&gt;
&lt;br /&gt;
&lt;h2 style="text-align: left;"&gt;
Boolean Expressions:&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;All objects evaluate to true except false and nil&lt;/li&gt;
&lt;li&gt;false and true are the only instances of FalseClass and TrueClass&lt;/li&gt;
&lt;li&gt;Boolean expressions return the last evaluated object&lt;/li&gt;
&lt;li&gt;a and b or c &amp;lt;=&amp;gt; (a and b) or c&lt;/li&gt;
&lt;li&gt;a = b and c &amp;lt;=&amp;gt; (a = b) and c&lt;/li&gt;
&lt;li&gt;a = b &amp;amp;&amp;amp; c &amp;lt;=&amp;gt; a = (b &amp;amp;&amp;amp; c)&lt;/li&gt;
&lt;li&gt;puts a if a = b # Using assignments in boolean expressions&lt;/li&gt;
&lt;li&gt;a = true; b = false; a and b and c() # =&amp;gt; c() is never invoked&lt;/li&gt;
&lt;/ul&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;Good
 to know the details about the boolean expressions, why because in my 
experience i face lot of issues with boolean expressions, i found that 
lot of bugs reported in my past projects most of the bugs having the 
issue with boolean expressions, So get hands on experience on boolean 
expression.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Thank for reading.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
If you like follow this blog. &lt;/div&gt;
&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/naming-conventions-and-boolean.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKRLmwVhMhTfg4c_MAV185f0vNkjD7OVKqG0B0oIn_styrVexJt31FmtdDvU3OeeLhypDUw69l25v_2pksx-TcyOVAYVEPOt8HH94TnIPdFcvM4PKwjkPScpkIwM4P-ry7JTGlx_jQCMC6/s72-c/wordcloud.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-8952891293547859039</guid><pubDate>Wed, 01 Jun 2016 12:59:00 +0000</pubDate><atom:updated>2017-04-20T04:38:54.770-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Singleton Classes and Methods</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: left;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhkQe4Ozg5-cJPJnHdI1cmgVywYcodwWnLIhzDa1bhAjhtBKCBS_njCwlW3ImdDTHUg5osJi3rXCRi2o76Fnh5_Sx2NCoMo3n3JqPo33LF5NBSG6OEm0LXQtvBJ8cGqW4bOhyphenhyphentd32CebiU/s1600/2013-05-08-08.26.26.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhkQe4Ozg5-cJPJnHdI1cmgVywYcodwWnLIhzDa1bhAjhtBKCBS_njCwlW3ImdDTHUg5osJi3rXCRi2o76Fnh5_Sx2NCoMo3n3JqPo33LF5NBSG6OEm0LXQtvBJ8cGqW4bOhyphenhyphentd32CebiU/s320/2013-05-08-08.26.26.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hi Readers,&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
In this post/page we are going to learn about singleton classes and their methods.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Example: &lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; require 'person'&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Every object has two classes: the class of which it is an instance,&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # and a singleton class.&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Methods of the singleton class are called singleton methods&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # and can only be invoked on that particular object.&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; andreas = Person.new("Andreas")&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; def andreas.andreas_says_hi&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Andreas says hi"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; andreas.andreas_says_hi&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Class methods are singleton methods on the class&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # object and can be defined like this:&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; def Person.count&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @@count ||= 0&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; puts Person.count&amp;nbsp; &lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
In
 our previous sessions example person class requiring in this, and we 
are defining a method with the class instance. So here Person in 
singleton class.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Just go through this example and practice it.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
If you like follow the blog.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Thank you.&lt;/div&gt;
&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/06/singleton-classes-and-methods.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhkQe4Ozg5-cJPJnHdI1cmgVywYcodwWnLIhzDa1bhAjhtBKCBS_njCwlW3ImdDTHUg5osJi3rXCRi2o76Fnh5_Sx2NCoMo3n3JqPo33LF5NBSG6OEm0LXQtvBJ8cGqW4bOhyphenhyphentd32CebiU/s72-c/2013-05-08-08.26.26.png" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-4674672239615114373</guid><pubDate>Wed, 01 Jun 2016 06:29:00 +0000</pubDate><atom:updated>2017-04-20T04:36:49.640-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Ruby class methods</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhivlJ9-EdgQLrW1aaJbdp4siP0w6-SX-vhHFCnApEgqXCsKNty_zf0dZO_tm5AhqJ4Lrk5v50zkPkDgGsxrr290AA5N1DPuhnXUXwvmIXLsnnwyPeJwYf4waOsNX2GBiGaDvGtZosv3rgv/s1600/method.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhivlJ9-EdgQLrW1aaJbdp4siP0w6-SX-vhHFCnApEgqXCsKNty_zf0dZO_tm5AhqJ4Lrk5v50zkPkDgGsxrr290AA5N1DPuhnXUXwvmIXLsnnwyPeJwYf4waOsNX2GBiGaDvGtZosv3rgv/s320/method.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hi Readers,&lt;br /&gt;
&lt;br /&gt;
In this post you are going to learn how to define class methods and how to call those methods.&lt;br /&gt;
&lt;br /&gt;
If you want to define a class method there are two ways.&lt;br /&gt;
&lt;br /&gt;
1. Inside the class by using the self keyword&lt;br /&gt;
2. Inside the class by using "class &amp;lt;&amp;lt; self"&lt;br /&gt;
&lt;br /&gt;
Refer the below example to get the Info.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; class Person&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def self.class_method&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; puts "class method invoked"&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class &amp;lt;&amp;lt; self&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def class_method2; puts "class_method2"; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def class_method3; puts "class_method3"; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class &amp;lt;&amp;lt; Person&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def class_method4; puts "class_method4"; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; # Invocation of class method&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Person.class_method&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just practice this, i will come back with new concept.&lt;br /&gt;
To get more updates subscribe and follow my blog.&lt;br /&gt;
Thank you&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/05/ruby-class-methods.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhivlJ9-EdgQLrW1aaJbdp4siP0w6-SX-vhHFCnApEgqXCsKNty_zf0dZO_tm5AhqJ4Lrk5v50zkPkDgGsxrr290AA5N1DPuhnXUXwvmIXLsnnwyPeJwYf4waOsNX2GBiGaDvGtZosv3rgv/s72-c/method.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-70374378471639199</guid><pubDate>Wed, 01 Jun 2016 05:51:00 +0000</pubDate><atom:updated>2017-04-20T04:35:46.464-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Ruby Methods</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKdEKV8g28T_zdYMgN8k7moWy1uGA_t89PltUd7EGAH7Nr-bj2sYZnU7tc5rBdkQC2JUlpr8jt0dAqblHPYvsWWMpi41s1uB6SCFw1_GSGEUHpjriANHhI0f6KzMJjUEDUZFhgDxaAuLan/s1600/method.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKdEKV8g28T_zdYMgN8k7moWy1uGA_t89PltUd7EGAH7Nr-bj2sYZnU7tc5rBdkQC2JUlpr8jt0dAqblHPYvsWWMpi41s1uB6SCFw1_GSGEUHpjriANHhI0f6KzMJjUEDUZFhgDxaAuLan/s320/method.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp;Hi Readers,&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Today we will know about the Ruby methods and parenthesis:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;When invoking a method argument parenthesis are optional&lt;/li&gt;
&lt;li&gt;Methods always have a receiver. The implicit receiver is self.&lt;/li&gt;
&lt;li&gt;Methods are identified by their name only. No overloading on argument signatures.&lt;/li&gt;
&lt;li&gt;There are class methods and instance methods&lt;/li&gt;
&lt;li&gt;Methods can be public, protected, or private&lt;/li&gt;
&lt;li&gt;The last evaluated expression in a method is the return value&lt;/li&gt;
&lt;li&gt;Arguments can have default values: def my_method(a, b = {})&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 style="text-align: left;"&gt;
Methods and Parenthesis:&lt;/h3&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; def square(number)&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; number * number&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; square(2+2)*2 # =&amp;gt; square(4)*2 = 32&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; square (2+2)*2 # =&amp;gt; square(4*2) = 64&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
Method Visibility:&lt;/h3&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class MyClass&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def method1 # Methods are public by default&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Protected methods can be invoked by any instance of the same class or a&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # subclass of MyClass&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def method2&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Private methods can only be invoked within an instance of MyClass or a subclass&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # of MyClass. The receiver of a private method is always self.&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; def method3&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; end&amp;nbsp;&amp;nbsp; &lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Hope you will understood, in next session i will come up with new concept.&lt;br /&gt;
&lt;br /&gt;
Do you like my posts follow this blog by clicking the Follow button About me in right side menu.&lt;br /&gt;
&lt;br /&gt;
Thank you.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;/ol&gt;
&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/05/ruby-methods.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKdEKV8g28T_zdYMgN8k7moWy1uGA_t89PltUd7EGAH7Nr-bj2sYZnU7tc5rBdkQC2JUlpr8jt0dAqblHPYvsWWMpi41s1uB6SCFw1_GSGEUHpjriANHhI0f6KzMJjUEDUZFhgDxaAuLan/s72-c/method.jpg" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560069, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-1268936718566247864</guid><pubDate>Tue, 31 May 2016 14:54:00 +0000</pubDate><atom:updated>2017-04-20T04:34:58.256-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Variable/Method Ambiguity Gotcha</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSaAVX0ns64Q2Qi7drBGJx8wEI-Xqg6tF-2qBhuH5pUTNAn_XP4y06GcaNPTonWu05udX87D7EqhOLioVe4HR9nBAGsYiiGFvjp217PNtvJMFN4wZ8iSJtA2IUVtmNLoggHTEk7EqhOxel/s1600/Eng-Calculations_Method-Development-1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="207" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSaAVX0ns64Q2Qi7drBGJx8wEI-Xqg6tF-2qBhuH5pUTNAn_XP4y06GcaNPTonWu05udX87D7EqhOLioVe4HR9nBAGsYiiGFvjp217PNtvJMFN4wZ8iSJtA2IUVtmNLoggHTEk7EqhOxel/s320/Eng-Calculations_Method-Development-1.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
In the below mentioned program we are defining a variable called paid, while initializing the class object we are creating instance variable default value is false.&lt;br /&gt;
&lt;br /&gt;
We have make_payment instance method defined here and inside that method we assigning value to the paid variable to true, just notice that in this method we are not overriding/replacing the actual instance variable so after calling the make_payment actual instance variable value won't change, if you try to print the paid value of instance will be false.&lt;br /&gt;
&lt;br /&gt;
&lt;ol class="dp-rb" start="1" style="-webkit-text-stroke-width: 0px; background-color: white; color: #5c5c5c; font-family: 'Gill Sans', Consolas, 'Courier New', Courier, mono; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 30px; list-style: none !important; margin: 1px 0px 10px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;class&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;Person&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;attr_accessor&amp;nbsp;&lt;span class="symbol" style="color: #aa7700;"&gt;:paid&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;def&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;initialize&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="variable" style="color: #aa7700; font-weight: normal;"&gt;@paid&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;false&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;end&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;def&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;make_payment&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;puts&amp;nbsp;&lt;span class="string" style="color: #2222cc; font-style: italic;"&gt;"making&amp;nbsp;payment..."&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;paid&amp;nbsp;=&amp;nbsp;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;true&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;end&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;end&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;person&amp;nbsp;=&amp;nbsp;Person.&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;new&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;person.make_payment&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;puts&amp;nbsp;&lt;span class="string" style="color: #2222cc; font-style: italic;"&gt;"paid=#{person.paid}"&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Try to execute the above code and practice it by changing the variables.&lt;br /&gt;
&lt;br /&gt;
Hope you will understand, i will get back to you with new concept. &lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/05/variablemethod-ambiguity-gotcha.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSaAVX0ns64Q2Qi7drBGJx8wEI-Xqg6tF-2qBhuH5pUTNAn_XP4y06GcaNPTonWu05udX87D7EqhOLioVe4HR9nBAGsYiiGFvjp217PNtvJMFN4wZ8iSJtA2IUVtmNLoggHTEk7EqhOxel/s72-c/Eng-Calculations_Method-Development-1.jpg" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-4565928222115863271</guid><pubDate>Tue, 31 May 2016 14:51:00 +0000</pubDate><atom:updated>2017-04-20T04:33:24.314-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Ruby</category><title>Ruby Attr_accessor</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq4vT8YEyCPUxgAw8FlZvDnxqJfXvRH_Kg9n-Wwws0Kab1DZnj9rzOHYjiHwM-lH6D3vcQUvEeq2L7kFDM4lpU_e5VmU6QhT42iUXhrWqb1a-jwOBZ70LcotgYoyBgUWSrx7x3T-2Z91P3/s1600/assessors+qualifications_0.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq4vT8YEyCPUxgAw8FlZvDnxqJfXvRH_Kg9n-Wwws0Kab1DZnj9rzOHYjiHwM-lH6D3vcQUvEeq2L7kFDM4lpU_e5VmU6QhT42iUXhrWqb1a-jwOBZ70LcotgYoyBgUWSrx7x3T-2Z91P3/s320/assessors+qualifications_0.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
You can declare the attributes for the ruby class using the keyword 'attr_accessor'.&lt;br /&gt;
&lt;br /&gt;
While initializing object you can assign the value to it. Check the following example and practice it.&lt;br /&gt;
&lt;br /&gt;
&lt;ol class="dp-rb" start="1" style="-webkit-text-stroke-width: 0px; background-color: white; color: #5c5c5c; font-family: 'Gill Sans', Consolas, 'Courier New', Courier, mono; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 30px; list-style: none !important; margin: 1px 0px 10px; orphans: auto; padding: 0px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;"&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;class&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;Person&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;attr_accessor&amp;nbsp;&lt;span class="symbol" style="color: #aa7700;"&gt;:name&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;def&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;initialize(name)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;self&lt;/span&gt;&lt;span style="color: black;"&gt;.name&amp;nbsp;=&amp;nbsp;name&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;end&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;end&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;person&amp;nbsp;=&amp;nbsp;Person.&lt;span class="keyword" style="color: #3333bb; font-weight: normal;"&gt;new&lt;/span&gt;&lt;span style="color: black;"&gt;(&lt;/span&gt;&lt;span class="string" style="color: #2222cc; font-style: italic;"&gt;"Andreas"&lt;/span&gt;&lt;span style="color: black;"&gt;)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;puts&amp;nbsp;person.name&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class="alt" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;person.name&amp;nbsp;=&amp;nbsp;&lt;span class="string" style="color: #2222cc; font-style: italic;"&gt;"David"&lt;/span&gt;&lt;span style="color: black;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class="" style="background-color: white; border: 0px; line-height: 14px; margin-right: 0px; margin-top: 0.6em; padding-left: 10px;"&gt;&lt;span style="color: black;"&gt;puts&amp;nbsp;person.name&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Hope you will practice it, i will get back to you with new concept.&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/05/ruby-attraccessor.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq4vT8YEyCPUxgAw8FlZvDnxqJfXvRH_Kg9n-Wwws0Kab1DZnj9rzOHYjiHwM-lH6D3vcQUvEeq2L7kFDM4lpU_e5VmU6QhT42iUXhrWqb1a-jwOBZ70LcotgYoyBgUWSrx7x3T-2Z91P3/s72-c/assessors+qualifications_0.png" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560001, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-3337503291917221381</guid><pubDate>Mon, 30 May 2016 15:16:00 +0000</pubDate><atom:updated>2016-05-30T08:16:43.625-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">RubyConf</category><title>Ruby creator(Yukihiro Matsumoto) talk in Rubyconf India</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe width="320" height="266" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/lAOepU13KAk/0.jpg" src="https://www.youtube.com/embed/lAOepU13KAk?feature=player_embedded" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
Visit the video: &lt;a class="vm-video-title-content yt-uix-sessionlink" data-sessionlink="ei=n1hMV5zjFNDsqAW4hq3ABg" href="https://www.youtube.com/watch?v=lAOepU13KAk"&gt;Ruby creator(Yukihiro Matsumoto) talk in Rubyconf India&lt;/a&gt;&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/05/ruby-creatoryukihiro-matsumoto-talk-in.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://img.youtube.com/vi/lAOepU13KAk/default.jpg" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9121522755764120913.post-4706741152462213821</guid><pubDate>Mon, 30 May 2016 13:14:00 +0000</pubDate><atom:updated>2016-05-30T06:14:37.355-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">RubyConf</category><title>My Experience in RUBYCONF INDIA 2016</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hi Readers,&lt;br /&gt;
&lt;br /&gt;
Rubyconf India is a global event complementing other RubyConf events across the world. I attended this event held on 19-20 march 2016. This was great opportunity to meet lot of rubiest.&lt;br /&gt;
&lt;br /&gt;
I met lot of people who are started their career freshly and they want to share their opinions. Actually me and my friend went there 18 march afternoon, that was actual check in time they mentioned in the website.&lt;br /&gt;
&lt;br /&gt;
That was nice hosting provided by le meridian hotel management. Food and accommodation was good. 18 march my friend me were having dinner that is around 9:00 P.m i think, My friend looking at one person standing in the dining hall and everyone wishing him to welcome India.&lt;br /&gt;
&lt;br /&gt;
Finally my friend telling me that "Hey, he is Ruby creator 'Yukihiro Matsumoto'". Everyone calling him Matz. He is very simple and looking so tiered. Me and my friend went there to welcome him and take a photograph with him. Finally me and my friend got the photo of him.&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnsC2i89BnxfFwymIjbie63Aq3G6FLHEVFq1nep9am73MpRN2MIc_ngK7KxZIaNlWvfKO8NryDi1xdxhlzGNkRWl1Ma6I5GAE_65sg9pVRT0_EPUnSFboiInM-x79T3WVGd5iQ-RB-TJA/s1600/IMG_0634.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnsC2i89BnxfFwymIjbie63Aq3G6FLHEVFq1nep9am73MpRN2MIc_ngK7KxZIaNlWvfKO8NryDi1xdxhlzGNkRWl1Ma6I5GAE_65sg9pVRT0_EPUnSFboiInM-x79T3WVGd5iQ-RB-TJA/s320/IMG_0634.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Me and Yukihiro Matsumoto&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: left;"&gt;
Next day 19 march actual conference started, First talk was given by Matz, that was awesome, it went like funny and interesting. Matz was promising that in the next version of the ruby is going be more powerful, mainly his team focusing on the performance part there is no new features are introducing.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
I observe that lot of people came to conf but most of them from Bengaluru, that to there are many startups of-course i am also one of them. &lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Some of the talks were boring and few of them are interesting. i am writing this things because i want share with you guys.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://insanqalam.blogspot.com/2016/05/my-experience-in-rubyconf-india-2016.html</link><author>noreply@blogger.com (Unknown)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnsC2i89BnxfFwymIjbie63Aq3G6FLHEVFq1nep9am73MpRN2MIc_ngK7KxZIaNlWvfKO8NryDi1xdxhlzGNkRWl1Ma6I5GAE_65sg9pVRT0_EPUnSFboiInM-x79T3WVGd5iQ-RB-TJA/s72-c/IMG_0634.JPG" width="72"/><thr:total>0</thr:total><georss:featurename>Bengaluru, Karnataka 560001, India</georss:featurename><georss:point>12.9715987 77.594562699999983</georss:point><georss:box>12.4764182 76.949115699999979 13.4667792 78.240009699999987</georss:box></item></channel></rss>