Answers for "ruby bang operator"

0

what is exclamation mark in ruby

a string
Posted by: Guest on October-20-2020
0

what is exclamation mark in ruby

foo = "A STRING"  # a string called foo
foo.downcase!     # modifies foo itself
puts foo          # prints modified foo
Posted by: Guest on October-20-2020

Browse Popular Code Answers by Language