so in this lecture we will see water wide spaces in trophy so wide spaces are nothing but invisible spaces so let’s see so to demonstrate an example let’s open IRB that is interactive Ruby command line or shell because here we can see the results quickly so without running any file or anything here we can see the output like for example if you do one plus two you can see the result right here so that is the reason i am using interactive ruby so white this is our nothing bad so by doing one place to addition so we can do this way and also we can do i am giving in many spaces 1 p 1 plus 2 still regard the same a result it means a ruby won’t consider these places sorry these spaces and we can do anything like star so these are called quiet spaces which means because of this spaces our code won’t get any affected and another thing is if you use something like puts and inside the double quotes this is a white space but in this case we are getting the spaces which means what in case of whenever we use double quote it means that we are indicating this is my string / it as it is so that is the reason we will get these spaces but in normally we won’t get a white spaces thank you

Tags:






Youtube
Facebook
Google Plus
Twitter
TutorialDrive


Apache Zookeeper Tutorial

Apache Kafka Tutorial

Apache Kafka Security

Elasticserarch n Kibana

Java 8 Tutorial

Log4J Tutorial

Apache Storm Tutorial

SQLite Tutorial

Apache Ant Tutorial

Related Posts

blog

Apache Kafka Commands Cheat sheet

Spread the loveKafka Topics List existing topics bin/kafka-topics.sh –zookeeper localhost:2181 –list Purge a topic bin/kafka-topics.sh –zookeeper localhost:2181 –alter –topic mytopic –config retention.ms=1000 … wait a minute … bin/kafka-topics.sh –zookeeper localhost:2181 –alter –topic mytopic –delete-config retention.ms
Read more…

blog

What is Apache Maven | Apache Maven complete tutorial from scratch pdf

Spread the love In this post you will learn the complete tutorial of Apache Maven build tool What is Maven ? Apache Maven is a software project management and comprehension tool. Based on the concept
Read more…

blog

Practical Guide for Web Development in 2018

Spread the loveWelcome to my practical guide  for web development in 2018 in terms of  technology and career. Before we start I just want to  mention a few things, you don’t need to learn  everything that
Read more…