-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename Configuration#modules to #prepare [WIP] #58
Conversation
79d1b39
to
47f6030
Compare
Changes Unknown when pulling 58af8e3 on joneslee85:issue-57 into * on lotus:master*. |
@@ -507,6 +503,16 @@ def duplicate | |||
end | |||
end | |||
|
|||
# Return included modules | |||
# | |||
# @return [Array<Proc>] array of included modules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not only return the included modules, also the before block and use Something, isn't it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I think I will reword it to array of included blocks, how does it sound?
Changes Unknown when pulling 79d1b39 on joneslee85:issue-57 into * on lotus:master*. |
Changes Unknown when pulling 47f6030 on joneslee85:issue-57 into * on lotus:master*. |
Changes Unknown when pulling cce8806 on joneslee85:issue-57 into * on lotus:master*. |
Changes Unknown when pulling 617e36f on joneslee85:issue-57 into * on lotus:master*. |
# @api private | ||
# | ||
# @see Lotus::Controller::Configuration#prepare | ||
attr_reader :modules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
attr_writer :modules at the bottom of the file can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlfonsoUceda no we cannot remove it, please see line 503: c.modules = modules.dup
Closes #57