Last active
August 29, 2015 14:01
-
-
Save apeiros/913dbbd134780b050c8c to your computer and use it in GitHub Desktop.
How to break up the method definition line, so the line is not too long?
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
module Jacob | |
class Model | |
class ColumnDsl | |
# [snip] | |
def integer(name, null: false, default: nil, size: nil, primary_key: false, auto_increment: false, unique: false) | |
# [snip] | |
end | |
# [snip] | |
end | |
end | |
end |
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
module Jacob | |
class Model | |
class ColumnDsl | |
# [snip] | |
def integer( | |
name, | |
null: false, | |
default: nil, | |
size: nil, | |
primary_key: false, | |
auto_increment: false, | |
unique: false | |
) | |
# [snip] | |
end | |
# [snip] | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment