Created
May 6, 2019 09:31
-
-
Save bellatrix988/dbf1699c5d33aa2aeb41cbf2fd5c49ac to your computer and use it in GitHub Desktop.
Ruby String Feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2] pry(#<QuoteFinancial>)> '%s' % 'test' | |
=> "test" | |
pry(#<QuoteFinancial>)> '%{name} %{email}' % {name: 'alex', email: '1@1.eu'} | |
=> "alex 1@1.eu" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment