Ruby Basic Exercises: Get ruby version with patch number
Ruby Basic: Exercise-1 with Solution
Write Ruby program to get ruby version with patch number.
puts "Ruby Version: "+RUBY_VERSION puts "Ruby Patch Level: "+RUBY_PATCHLEVEL.to_s
Ruby Version: 2.4.2 Ruby Patch Level: 198
Ruby Code Editor:
Contribute your code and comments through Disqus.
What is the difficulty level of this exercise?
- New Content published on w3resource:
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework