Question
How will you comment in Ruby.

Answers

Ruby comments are non-executable lines in a program. They do not take part in the execution of a program.
Single line comment syntax:

#This is single line comment.

Multi line comment syntax:

=begin
This
is
multi line
comment
=end   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q What is an Economizer?
  • Q Who shared this year’s Nobel Prize in Chemistry, for the development of super-resolved fluorescence microscopy ?
  • Q Have you ever had to fire people? What were the reasons, and how did you handle the situation?
  • Q What is the concept of fa also known as fsm ( finite state machine) ?
  • Q What are some guidelines / "rules of thumb" for overloading operators?
  • Q Sam and Mala have a conversation. • Sam says I am certainly not over 40 • Mala says I am 38 and you are atleast 5 years older than me • Now Sam says you are atleast 39 All the statements by the two are false. How old are they really?
  • Q Bibi-ka-Makbara is situated in:
  • Q Mention the scientific name of Doberman Pinscher ?
  • Q What UK-based organisation is (at 2011) the world's largest insurance market?
  • Q Which type of network requires HPNA adapters for communication between network nodes?
  • Q How do you prove that by default, case object is serializable and normal object is not?