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...


Explain about environment variables present in ruby?



Explain about environment variables present in ruby?..

Answer / Jaiveer Singh

Environment variables in Ruby can be accessed using the ENV hash. They are global variables that store strings of text that are available to processes during runtime. To set an environment variable, you can use the system method with the 'export' command.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What is the difference between ruby 1.9 and ruby 2.0?

1 Answers  


What is a symbol in ruby?

1 Answers  


Tell me can you call a private method outside a ruby class using its object?

1 Answers  


How would you freeze an object in ruby? Can you provide a simple example?

1 Answers  


What are advantages of using ruby?

1 Answers  


How to create a new time instance in Ruby?

1 Answers  


Tell me how symbol is different from variables?

1 Answers  


What's the difference in scope for these two variables: @name and @@name?

1 Answers  


Explain me what the difference is between false and nil in ruby?

1 Answers  


Describe class libraries in Ruby?

1 Answers  


what is the purpose of the rakefile available in the demo directory in ruby?

1 Answers  


What are the loops in ruby?

1 Answers  


Categories