Ruby On Rails Classroom
Neeraj Amoli /
Professional /
Web Technology
To post your Question Join Classroom
Question:-
For the String class, what’s the difference between «#slice» and «#slice!»?
Answers:
• None, «#slice» is just an alias for «#slice!».
• There is no «#slice!» method in Ruby on Rails.
• «#slice» returns a new object, «#slice!» destructively updates — mutates — the object’s value.
Answer:-
Prev Next
Neeraj Amoli
Skills Ruby On Rails
Qualifications :-Location :-Dehradun,Dehradun,Uttrakhand,
Description:-
I have 3 year experience as a Software Engineer. My Skilled are Android Development (Java), ROR Development .
Explore
Students (4)
Ask
Neeraj
Ask
Shubham
Ask
Vikash
Ask
Anil
Recommended Classes
Anil Bist
I started my Professional Journey in 2006 with one of the Web Development Company in Bangalore an...
Professional
shweta Pandey
Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional
shweta Pandey
Passionate about LIFE and Learning. Lets explore together better version of "self", &qu...
Professional