Answers for "rails lowercase"

3

uruby to lower case

name = 'Foo'
puts name           # Ruby
puts name.downcase  # ruby
puts name.upcase    # RUBY
puts name           # Ruby
Posted by: Guest on August-22-2020
1

rails lowercase

"hello James!".upcase      #=> "HELLO JAMES!"
"hello James!".capitalize  #=> "Hello james!"
"hello James!".titleize    #=> "Hello James!" (Rails/ActiveSupport only)
Posted by: Guest on August-19-2021

Browse Popular Code Answers by Language