-
-
Save anonymous/dcc246890e6bf0f91de83b55d759fcbf to your computer and use it in GitHub Desktop.
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
def some_method( var ) | |
puts "now in method with #{var}" | |
end | |
def better_method( var ) | |
"works better if I just return a string #{var}" | |
end | |
puts <<EOT | |
some stuff | |
second | |
#{some_method('test')} | |
EOT | |
puts <<EOT | |
some stuff | |
second | |
#{better_method('test')} | |
EOT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment