Skip to content
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

Merged
merged 1 commit into from
Dec 8, 2014

Conversation

runlevel5
Copy link
Member

Closes #57

@runlevel5 runlevel5 force-pushed the issue-57 branch 3 times, most recently from 79d1b39 to 47f6030 Compare December 5, 2014 13:05
@runlevel5 runlevel5 changed the title Rename Configuration#modules to #prepare Rename Configuration#modules to #prepare [WIP] Dec 5, 2014
@coveralls
Copy link

Coverage Status

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
Copy link
Contributor

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?

Copy link
Member Author

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?

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 79d1b39 on joneslee85:issue-57 into * on lotus:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 47f6030 on joneslee85:issue-57 into * on lotus:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling cce8806 on joneslee85:issue-57 into * on lotus:master*.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 617e36f on joneslee85:issue-57 into * on lotus:master*.

# @api private
#
# @see Lotus::Controller::Configuration#prepare
attr_reader :modules
Copy link
Contributor

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

Copy link
Member Author

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

@jodosha jodosha merged commit 617e36f into hanami:master Dec 8, 2014
jodosha added a commit that referenced this pull request Dec 8, 2014
@jodosha jodosha self-assigned this Dec 8, 2014
@jodosha jodosha added this to the v0.3.0 milestone Dec 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename Configuration#modules into #prepare
4 participants