What do you want to save?
Add Code snippet
New code examples in category Ruby
-
Awgiedawgie 2022-02-11 01:30:01
string concatenation in Ruby
#lets get 2 strings from user first first_name = gets last_name = gets #Now concatentate the strings first_name.concat(last_name) =begin Other ways for concatenating string: last_name.prepend(first_name) first_name<<last_name first_name+=last_n... Add solution -
Awgiedawgie 2022-02-07 03:15:24
compiler version at runtime
puts version = RUBY_VERSION Add solution -
-