Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How will you comment in ruby.



How will you comment in ruby...

Answer / Hitendra Kumar Singh

"To comment in Ruby, you can use the # symbol for single-line comments and =begin and =end for multi-line comments. For example:

# This is a single-line comment

=begin
This is a
multi-line
comment
=end
""

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

Tell me how symbol is different from variables?

1 Answers  


what is the Notation used for denoting class variables in Ruby?

1 Answers  


What are the data types in ruby?

1 Answers  


Tell me the role of modules and mixins in ruby?

0 Answers  


What is ruby object?

1 Answers  


Do you know what is the defined operator?

1 Answers  


What are the ruby variables?

1 Answers  


Tell us what is class libraries in ruby?

1 Answers  


Explain about normal method class?

1 Answers  


what is the syntax for Ruby collect Iterator?

1 Answers  


How an exception is handled in Ruby?

1 Answers  


What is the use of interpolation in ruby?

1 Answers  


Categories