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

Remove _file/_directory in method names #243

Merged
merged 12 commits into from May 7, 2015
Merged

Remove _file/_directory in method names #243

merged 12 commits into from May 7, 2015

Conversation

maxmeyer
Copy link
Member

@maxmeyer maxmeyer commented May 2, 2015

When we have file? and directory? in place, I see no need to have remove_file, remove_directory and touch_file anymore.

Be stating _file and _directory in the name we mix a test and an action. I think users should use the file? and directory?-methods for tests and remove and touch for actions.

I changed the implementation of the given methods to work both on files and directories. All relevant changes are from the 2nd of May.

This PR is based on #237.

@mattwynne
Copy link
Member

Can you rebase please?

@ghost
Copy link

ghost commented May 7, 2015

Ok.

@ghost
Copy link

ghost commented May 7, 2015

@mattwynne
Rebased.

mattwynne added a commit that referenced this pull request May 7, 2015
Remove _file/_directory in method names
@mattwynne mattwynne merged commit 53c1da2 into cucumber:master May 7, 2015
@ghost
Copy link

ghost commented May 7, 2015

Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants