Last active
January 3, 2016 08:19
-
-
Save filipebarcos/8435208 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
#in real life this is going until column 98 | |
@my_variable = MyVeryLongClassName.method("three", "arguments", "method") || default_value_method | |
# or | |
@my_variable = MyVeryLongClassName.method("three", "arguments", "method") | |
@my_variable ||= default_value_method | |
# or | |
@my_variable = MyVeryLongClassName.method("three", "arguments", "method") | |
|| default_value_method |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd go with 1st option.
3rd one is the one I like the least.