When I read the Beast source code, I found a lot of code like this:
<%= 'Password'[:password_title] %>
It looks like calling the [] method with a character as an input parameter to a string for me, but I did not find this type of parameter to the String [] method in the ruby API. What does it mean? thanks in advance.
string ruby ruby-on-rails monkeypatching
eric2323223
source share